diff -r 312f4dd41753 -r a9c44a8ffec8 project_files/HedgewarsMobile/Classes/ObjcExports.m --- 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];