project_files/HedgewarsMobile/Classes/ObjcExports.m
changeset 6018 3b86826f6665
parent 5994 3c578f531cc1
child 6078 8c0cc07731e5
--- a/project_files/HedgewarsMobile/Classes/ObjcExports.m	Sat Sep 24 21:54:11 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/ObjcExports.m	Sat Sep 24 22:27:52 2011 +0200
@@ -37,8 +37,8 @@
 
 #pragma mark -
 #pragma mark functions called like oop
-void objcExportsInit(OverlayViewController* instance) {
-    overlay_instance = instance;
+void objcExportsInit() {
+    overlay_instance = [OverlayViewController mainOverlay];
     gameRunning = NO;
     savedGame = NO;
     grenadeTime = 2;