fix issue on Xcode 6

This commit is contained in:
minggo 2014-06-09 17:06:40 +08:00
parent 489cc2dfab
commit 66c7b85134
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@ static CCAccelerometerDispatcher* s_pAccelerometerDispatcher;
case UIInterfaceOrientationPortrait:
break;
default:
NSAssert(false, @"unknow orientation");
}
cocos2d::EventAcceleration event(*_acceleration);