project_files/HedgewarsMobile/Classes/GameConfigViewController.m
changeset 5002 a9c44a8ffec8
parent 4976 088d40d8aba2
child 5156 641abe679bf0
--- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Sat Mar 12 22:55:25 2011 +0300
+++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Sun Mar 13 03:43:18 2011 +0100
@@ -20,7 +20,6 @@
 
 
 #import "GameConfigViewController.h"
-#import "SDL_uikitappdelegate.h"
 #import "MapConfigViewController.h"
 #import "TeamConfigViewController.h"
 #import "SchemeWeaponConfigViewController.h"
@@ -242,11 +241,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) {