equal
deleted
inserted
replaced
327 } |
327 } |
328 |
328 |
329 #pragma mark - |
329 #pragma mark - |
330 #pragma mark Memory management |
330 #pragma mark Memory management |
331 -(void) didReceiveMemoryWarning { |
331 -(void) didReceiveMemoryWarning { |
332 if ([[HedgewarsAppDelegate sharedAppDelegate] isInGame]) { |
332 if ([HWUtils isGameLaunched]) { |
333 self.tableView = nil; |
333 self.tableView = nil; |
334 self.lastIndexPath_sc = nil; |
334 self.lastIndexPath_sc = nil; |
335 self.lastIndexPath_we = nil; |
335 self.lastIndexPath_we = nil; |
336 self.lastIndexPath_lu = nil; |
336 self.lastIndexPath_lu = nil; |
337 self.selectedScheme = nil; |
337 self.selectedScheme = nil; |