--- a/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m Tue Jan 18 14:28:29 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m Tue Jan 18 22:42:06 2011 +0100
@@ -79,6 +79,8 @@
self.view.center = CGPointMake(placingPoint.x, placingPoint.y);
}
self.isVisible = YES;
+ if (IS_IPAD() == NO)
+ HW_pause();
}
-(void) disappear {
@@ -87,6 +89,8 @@
self.isVisible = NO;
placingPoint.x = self.view.center.y;
placingPoint.y = self.view.center.x;
+ if (IS_IPAD() == NO)
+ HW_pauseToggle();
}
#pragma mark -
--- a/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Tue Jan 18 14:28:29 2011 +0100
+++ b/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Tue Jan 18 22:42:06 2011 +0100
@@ -1576,7 +1576,7 @@
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
- 1D6058900D05DD3D006BFB54 /* Hedgewars */ = {
+ 1D6058900D05DD3D006BFB54 /* Test Lua */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "Hedgewars" */;
buildPhases = (
@@ -1667,7 +1667,7 @@
);
projectRoot = "";
targets = (
- 1D6058900D05DD3D006BFB54 /* Hedgewars */,
+ 1D6058900D05DD3D006BFB54 /* Test Lua */,
928301160F10CAFC00CC5A3C /* fpc */,
6179928B114AE0C800BA94A9 /* UpdateDataFolder */,
);