--- a/project_files/HedgewarsMobile/Classes/OverlayViewController.m Sun Nov 28 01:58:43 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.m Sun Nov 28 23:49:09 2010 +0100
@@ -410,7 +410,7 @@
if (IS_DUALHEAD() || self.useClassicMenu == NO) {
if (self.amvc == nil)
self.amvc = [[AmmoMenuViewController alloc] init];
-
+ setAmmoMenuInstance(amvc);
if (self.amvc.isVisible) {
doDim();
[self.amvc disappear];
@@ -421,6 +421,7 @@
}
}
} else {
+ setAmmoMenuInstance(nil);
HW_ammoMenu();
}
break;