project_files/HedgewarsMobile/Classes/CommodityFunctions.m
changeset 3551 d4de36b3801a
parent 3547 02875b1145b7
child 3573 c84067629035
--- a/project_files/HedgewarsMobile/Classes/CommodityFunctions.m	Thu Jun 24 01:08:57 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/CommodityFunctions.m	Sat Jun 26 04:36:04 2010 +0200
@@ -113,11 +113,8 @@
 }
 
 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation) {
-    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
-        return YES;
-    else
-        return (interfaceOrientation == UIInterfaceOrientationLandscapeRight) ||
-               (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);  
+    return (interfaceOrientation == UIInterfaceOrientationLandscapeRight) ||
+           (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);  
 }
 
 NSInteger randomPort () {