diff --git a/cocos2dx/platform/wophone/CCAccelerometer_wophone.cpp b/cocos2dx/platform/wophone/CCAccelerometer_wophone.cpp index 5596f2b1ae..b50917dee6 100644 --- a/cocos2dx/platform/wophone/CCAccelerometer_wophone.cpp +++ b/cocos2dx/platform/wophone/CCAccelerometer_wophone.cpp @@ -93,7 +93,7 @@ void CCAccelerometer::addDelegate(CCAccelerometerDelegate* pDelegate) void CCAccelerometer::didAccelerate(CCAcceleration* pAccelerationValue) { - m_pAccelDelegate->didAccelerate(pAccelerationValue); + m_pDelegate->didAccelerate(pAccelerationValue); } }//namespace cocos2d