cocos2d/cocos2d-x — pull request #2665 by jotel (2013-05-28 23:06:44+00:00)
Title: Explicitly initialising CCAcceleration structure 

Explicitly initialising CCAcceleration structure to report zeros when run in device simulator. Without that fix the values returned from

MotionManager::sharedMotionManager()->getAcceleration()

while in simulator had random values causing the code behaving unexpectedly.

Regards
Jaro