diff -r 78138ae93820 -r db775bddf771 project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m --- a/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m Mon May 09 18:00:39 2011 +0200 +++ b/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m Wed May 11 01:26:38 2011 +0200 @@ -116,8 +116,7 @@ device.multitaskingSupported && self.isInGame) { // let's try to be permissive with multitasking here... - NSDictionary *settings = [[NSDictionary alloc] initWithContentsOfFile:SETTINGS_FILE()]; - if ([[settings objectForKey:@"multitasking"] boolValue]) + if ([[[NSUserDefaults standardUserDefaults] objectForKey:@"multitasking"] boolValue]) HW_suspend(); else { // so the game returns to the configuration view @@ -128,7 +127,6 @@ [self applicationWillTerminate:application]; } } - [settings release]; } }