project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
changeset 6247 6dfad55fd71c
parent 6220 39782c4d9246
child 6634 e00762923086
--- a/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m	Mon Oct 31 01:44:32 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m	Mon Oct 31 03:08:16 2011 +0100
@@ -329,7 +329,7 @@
 #pragma mark -
 #pragma mark Memory management
 -(void) didReceiveMemoryWarning {
-    if ([[HedgewarsAppDelegate sharedAppDelegate] isInGame]) {
+    if ([HWUtils isGameLaunched]) {
         self.tableView = nil;
         self.lastIndexPath_sc = nil;
         self.lastIndexPath_we = nil;