project_files/HedgewarsMobile/Classes/ObjcExports.m
changeset 5002 a9c44a8ffec8
parent 4976 088d40d8aba2
child 5106 517bdd3865f1
--- a/project_files/HedgewarsMobile/Classes/ObjcExports.m	Sat Mar 12 22:55:25 2011 +0300
+++ b/project_files/HedgewarsMobile/Classes/ObjcExports.m	Sun Mar 13 03:43:18 2011 +0100
@@ -97,7 +97,7 @@
 
 void clearView() {
     // don't use any engine calls here as this function is called every time the ammomenu is opened
-    UIWindow *theWindow = (IS_DUALHEAD()) ? [SDLUIKitDelegate sharedAppDelegate].uiwindow : [[UIApplication sharedApplication] keyWindow];
+    UIWindow *theWindow = (IS_DUALHEAD()) ? [HedgewarsAppDelegate sharedAppDelegate].uiwindow : [[UIApplication sharedApplication] keyWindow];
     UIButton *theButton = (UIButton *)[theWindow viewWithTag:CONFIRMATION_TAG];
     UISegmentedControl *theSegment = (UISegmentedControl *)[theWindow viewWithTag:GRENADE_TAG];