mirror of https://github.com/axmolengine/axmol.git
Uncommenting accelerometer callback in CCLayer
This commit is contained in:
parent
5fb2c0892e
commit
50fbf86180
|
@ -243,7 +243,7 @@ void CCLayer::setAccelerometerInterval(double interval) {
|
|||
if (m_bIsRunning)
|
||||
{
|
||||
CCDirector* pDirector = CCDirector::sharedDirector();
|
||||
// pDirector->getAccelerometer()->setAccelerometerInterval(interval);
|
||||
pDirector->getAccelerometer()->setAccelerometerInterval(interval);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue