project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
changeset 5166 d1eb1560b4d5
parent 5158 4941df038b95
child 5174 f5294509783e
--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Tue Apr 19 15:34:21 2011 -0400
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Wed Apr 20 05:26:47 2011 +0200
@@ -148,7 +148,8 @@
         [UIView setAnimationDuration:1];
         blackView.alpha = 1;
         [UIView commitAnimations];
-    }
+    } else
+        blackView.alpha = 1;
 
     // prepare options for overlay and add it to the future sdl uiwindow
     NSDictionary *overlayOptions = [[NSDictionary alloc] initWithObjectsAndKeys:
@@ -162,7 +163,6 @@
     [self startGameEngine];
 
     // now we can remove the cover with a transition
-    blackView.alpha = 1;
     [UIView beginAnimations:@"fade in" context:NULL];
     [UIView setAnimationDuration:1];
     blackView.alpha = 0;