project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
changeset 6337 84e7d1a5e3df
parent 6321 5a0416e5a6de
child 6353 d8f62c805619
--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Sat Nov 12 21:53:39 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Sat Nov 12 21:59:10 2011 +0100
@@ -158,7 +158,7 @@
 #pragma mark Class methods for setting up the engine from outsite
 +(void) startGame:(TGameType) type atPath:(NSString *)path withOptions:(NSDictionary *)config {
     [HWUtils setGameType:type];
-    GameInterfaceBridge *bridge = [[GameInterfaceBridge alloc] init];
+    id bridge = [[self alloc] init];
     [bridge earlyEngineLaunch:path withOptions:config];
     [bridge release];
 }