project_files/HedgewarsMobile/Classes/OverlayViewController.m
changeset 5206 db775bddf771
parent 5195 1bfa81f0bc21
child 5207 4c9ae0f484da
--- a/project_files/HedgewarsMobile/Classes/OverlayViewController.m	Mon May 09 18:00:39 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.m	Wed May 11 01:26:38 2011 +0200
@@ -35,7 +35,7 @@
 
 
 @implementation OverlayViewController
-@synthesize popoverController, popupMenu, helpPage, amvc, useClassicMenu, initialScreenCount, initialOrientation,
+@synthesize popoverController, popupMenu, helpPage, amvc, initialScreenCount, initialOrientation,
             lowerIndicator, savesIndicator, confirmButton, grenadeTimeSegment;
 
 #pragma mark -
@@ -353,7 +353,7 @@
             playSound(@"clickSound");
             clearView();
             
-            if (IS_DUALHEAD() || self.useClassicMenu == NO) {
+            if (IS_DUALHEAD() || [[[NSUserDefaults standardUserDefaults] objectForKey:@"classic_menu"] boolValue] == NO) {
                 if (self.amvc == nil)
                     self.amvc = [[AmmoMenuViewController alloc] init];