Use lua_rawget instead of lua_gettable in ActorFrame::IdenticalChildrenIndexLayer to avoid self recursion on invalid number indices.

This commit is contained in:
Kyzentun
2014-12-01 17:00:18 -07:00
parent 3b36858cf8
commit 112fbfd199
+1 -1
View File
@@ -316,7 +316,7 @@ static int IdenticalChildrenIndexLayer(lua_State* L)
{
if(lua_isnumber(L, 2))
{
lua_gettable(L, 1);
lua_rawget(L, 1);
}
else
{