mirror of https://github.com/axmolengine/axmol.git
Merge pull request #7492 from samuele3hu/v3_hot_fix
Fix a type judgment error.
This commit is contained in:
commit
c8078c35b4
|
@ -17,7 +17,7 @@ static int lua_cocos2dx_experimental_TMXLayer_getTileGIDAt(lua_State* tolua_S)
|
|||
|
||||
|
||||
#if COCOS2D_DEBUG >= 1
|
||||
if (!tolua_isusertype(tolua_S,1,"ccexp.FastTMXLayer",0,&tolua_err)) goto tolua_lerror;
|
||||
if (!tolua_isusertype(tolua_S,1,"ccexp.TMXLayer",0,&tolua_err)) goto tolua_lerror;
|
||||
#endif
|
||||
|
||||
cobj = (cocos2d::experimental::TMXLayer*)tolua_tousertype(tolua_S,1,0);
|
||||
|
|
Loading…
Reference in New Issue