From 1ed37fda409479769c8d110aa22d5dadc9d2cb85 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Tue, 9 Aug 2011 15:19:17 -0400 Subject: Disabled autorotation Interesting to note is that, for some reason, the code is calling Landscape Left "Landscape Right". This worries me and makes me think that either I'm not quite sure about the names of the orientations, or that my code is doing something weird. Fixes #194 --- Classes/RootViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/RootViewController.m b/Classes/RootViewController.m index edd67cb..6fde76d 100755 --- a/Classes/RootViewController.m +++ b/Classes/RootViewController.m @@ -85,7 +85,7 @@ // // return YES for the supported orientations - return ( UIInterfaceOrientationIsLandscape( interfaceOrientation ) ); + return ( interfaceOrientation == UIInterfaceOrientationLandscapeRight ); #else #error Unknown value in GAME_AUTOROTATION -- cgit 1.4.1