Fix type judgment error.

This commit is contained in:
samuele3hu 2014-07-17 16:41:09 +08:00
parent c34e9e8490
commit 10d498e1ae
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);