project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
changeset 6822 206db098f8c5
parent 6719 d2afc6b2d88e
child 6832 fae8fd118da9
--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Sun Mar 25 21:17:01 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Mon Mar 26 03:24:50 2012 +0200
@@ -21,10 +21,7 @@
 
 #import "GameInterfaceBridge.h"
 #import "EngineProtocolNetwork.h"
-#import "OverlayViewController.h"
 #import "StatsPageViewController.h"
-#import "AudioManagerController.h"
-#import "ObjcExports.h"
 
 static UIViewController *callingController;
 
@@ -85,9 +82,6 @@
     [UIView commitAnimations];
     [self.blackView performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1];
 
-    // the overlay is not needed any more and can be removed
-    [[OverlayViewController mainOverlay] removeOverlay];
-
     // engine thread *should* be done by now
     NSArray *stats = [[NSArray alloc] initWithArray:self.proto.statsArray copyItems:YES];
     if ([HWUtils gameStatus] == gsEnded && stats != nil) {