project_files/HedgewarsMobile/Classes/SavedGamesViewController.m
changeset 5002 a9c44a8ffec8
parent 4976 088d40d8aba2
child 5156 641abe679bf0
--- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Sat Mar 12 22:55:25 2011 +0300
+++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Sun Mar 13 03:43:18 2011 +0100
@@ -20,7 +20,6 @@
 
 
 #import "SavedGamesViewController.h"
-#import "SDL_uikitappdelegate.h"
 #import "StatsPageViewController.h"
 #import "CommodityFunctions.h"
 
@@ -228,11 +227,11 @@
 
     NSArray *stats;
     if (IS_DUALHEAD()) {
-        stats = [[SDLUIKitDelegate sharedAppDelegate] startSDLgame:allDataNecessary];
+        stats = [[HedgewarsAppDelegate sharedAppDelegate] startSDLgame:allDataNecessary];
         [self presentModalViewController:statsPage animated:NO];
     } else {
         [self performSelector:@selector(presentModalViewController:animated:) withObject:statsPage afterDelay:3];
-        stats = [[SDLUIKitDelegate sharedAppDelegate] startSDLgame:allDataNecessary];
+        stats = [[HedgewarsAppDelegate sharedAppDelegate] startSDLgame:allDataNecessary];
     }
 
     if ([stats count] <= 1) {