diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-08-09 15:19:17 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-08-09 15:19:17 -0400 |
commit | 1ed37fda409479769c8d110aa22d5dadc9d2cb85 (patch) | |
tree | c3677d7d6c56d66bb02fd8a1461ef2a8bf1d243f /Classes/RootViewController.m | |
parent | 1d9ed882de4e2e3a53cdd5e90edc25e8ae10af1b (diff) | |
download | cartcollect-1ed37fda409479769c8d110aa22d5dadc9d2cb85.tar.gz cartcollect-1ed37fda409479769c8d110aa22d5dadc9d2cb85.tar.bz2 cartcollect-1ed37fda409479769c8d110aa22d5dadc9d2cb85.zip |
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
Diffstat (limited to 'Classes/RootViewController.m')
-rwxr-xr-x | Classes/RootViewController.m | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
85 | // | 85 | // |
86 | // return YES for the supported orientations | 86 | // return YES for the supported orientations |
87 | 87 | ||
88 | return ( UIInterfaceOrientationIsLandscape( interfaceOrientation ) ); | 88 | return ( interfaceOrientation == UIInterfaceOrientationLandscapeRight ); |
89 | 89 | ||
90 | #else | 90 | #else |
91 | #error Unknown value in GAME_AUTOROTATION | 91 | #error Unknown value in GAME_AUTOROTATION |