Uncommenting accelerometer callback in CCLayer

This commit is contained in:
Rohan Kuruvilla 2012-11-13 14:57:05 -08:00 committed by James Chen
parent 5fb2c0892e
commit 50fbf86180
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ void CCLayer::setAccelerometerInterval(double interval) {
if (m_bIsRunning)
{
CCDirector* pDirector = CCDirector::sharedDirector();
// pDirector->getAccelerometer()->setAccelerometerInterval(interval);
pDirector->getAccelerometer()->setAccelerometerInterval(interval);
}
}
}