--- a/project_files/HedgewarsMobile/Classes/CommodityFunctions.m Tue Nov 02 10:53:38 2010 -0400
+++ b/project_files/HedgewarsMobile/Classes/CommodityFunctions.m Wed Nov 03 00:48:42 2010 +0100
@@ -185,8 +185,11 @@
}
BOOL inline rotationManager (UIInterfaceOrientation interfaceOrientation) {
- return (interfaceOrientation == UIInterfaceOrientationLandscapeRight) ||
- (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
+ if (IS_IPAD())
+ return (interfaceOrientation == UIInterfaceOrientationLandscapeRight) ||
+ (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
+ else
+ return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
NSInteger inline randomPort () {