Merge pull request #7492 from samuele3hu/v3_hot_fix

Fix a type judgment error.
This commit is contained in:
minggo 2014-07-17 16:47:43 +08:00
commit c8078c35b4
1 changed files with 1 additions and 1 deletions

View File

@ -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);