--- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.m Fri Aug 13 02:44:44 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.m Sat Aug 14 02:10:27 2010 +0200
@@ -33,10 +33,8 @@
otherButtonTitles:nil];
[alert show];
[alert release];
- } else {
+ } else
[[self parentViewController] dismissModalViewControllerAnimated:YES];
-
- }
break;
case 1:
theButton.enabled = NO;
@@ -230,6 +228,20 @@
[super viewDidAppear:animated];
}
+-(void) viewWillDisappear:(BOOL)animated {
+ [mapConfigViewController viewWillDisappear:animated];
+ [teamConfigViewController viewWillDisappear:animated];
+ [schemeWeaponConfigViewController viewWillDisappear:animated];
+ [super viewWillDisappear:animated];
+}
+
+-(void) viewDidDisappear:(BOOL)animated {
+ [mapConfigViewController viewDidDisappear:animated];
+ [teamConfigViewController viewDidDisappear:animated];
+ [schemeWeaponConfigViewController viewDidDisappear:animated];
+ [super viewDidDisappear:animated];
+}
+
-(void) didReceiveMemoryWarning {
if (activeController.view.superview == nil)
activeController = nil;