fix CreateTableFromArray

This commit is contained in:
Glenn Maynard
2005-04-29 08:05:13 +00:00
parent e00b1bbac9
commit cfb0143810
+1 -1
View File
@@ -142,7 +142,7 @@ namespace LuaHelpers
lua_newtable( L ); lua_newtable( L );
for( unsigned i = 0; i < aIn.size(); ++i ) for( unsigned i = 0; i < aIn.size(); ++i )
{ {
aIn[i]->PushSelf( L ); LuaHelpers::Push( aIn[i], L );
lua_rawseti( L, -2, i+1 ); lua_rawseti( L, -2, i+1 );
} }
} }