summary refs log tree commit diff stats
path: root/Classes
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-08-09 15:19:17 -0400
committerStarla Insigna <starla4444@gmail.com>2011-08-09 15:19:17 -0400
commit1ed37fda409479769c8d110aa22d5dadc9d2cb85 (patch)
treec3677d7d6c56d66bb02fd8a1461ef2a8bf1d243f /Classes
parent1d9ed882de4e2e3a53cdd5e90edc25e8ae10af1b (diff)
downloadcartcollect-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')
-rwxr-xr-xClasses/RootViewController.m2
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