project_files/HedgewarsMobile/Classes/OverlayViewController.m
changeset 5195 1bfa81f0bc21
parent 5177 b850b544addc
child 5206 db775bddf771
--- a/project_files/HedgewarsMobile/Classes/OverlayViewController.m	Sat Apr 30 20:06:05 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.m	Sun May 01 05:39:52 2011 +0200
@@ -42,9 +42,6 @@
 #pragma mark rotation
 
 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
-    // don't rotate until the game is running for performance and synchronization with the sdlview
-    if (isGameRunning() == NO)
-        return (interfaceOrientation == (UIInterfaceOrientation) self.initialOrientation);
     return rotationManager(interfaceOrientation);
 }
 
@@ -117,7 +114,6 @@
             self.view.transform = CGAffineTransformMakeRotation(degreesToRadians(-90));
             break;
         default:
-            DLog(@"Nope");
             break;
     }
     [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
@@ -664,7 +660,6 @@
                 initialDistanceForPinching = currentDistanceOfPinching;
             break;
         default:
-            DLog(@"Nope");
             break;
     }
 }