Fix "PhysicsTest->Fixed Update Test" under lua-test perform in wrong status.

This commit is contained in:
XiaoFeng 2015-10-28 14:12:24 +08:00
parent c55f030218
commit 80b2def648
1 changed files with 1 additions and 1 deletions

View File

@ -1560,7 +1560,7 @@ local function PhysicsDemoBug5482()
return layer
end
local function PhysicsDemoBug5482()
local function PhysicsFixedUpdate()
local layer = cc.Layer:create()
local function onEnter()
cc.Director:getInstance():getRunningScene():getPhysicsWorld():setDebugDrawMask(cc.PhysicsWorld.DEBUGDRAW_ALL)