Removed debug output
This commit is contained in:
parent
94363a2e95
commit
076d97f738
|
@ -170,8 +170,6 @@ extract_tile_data(lua_State *L,
|
||||||
static Stats
|
static Stats
|
||||||
lua_checkstats(lua_State *L, int index)
|
lua_checkstats(lua_State *L, int index)
|
||||||
{
|
{
|
||||||
debug("Reading stats: %d", index);
|
|
||||||
|
|
||||||
// Confirm table
|
// Confirm table
|
||||||
luaL_checktype(L, index, LUA_TTABLE);
|
luaL_checktype(L, index, LUA_TTABLE);
|
||||||
|
|
||||||
|
@ -180,7 +178,6 @@ lua_checkstats(lua_State *L, int index)
|
||||||
// Stack: -1 => table
|
// Stack: -1 => table
|
||||||
|
|
||||||
int tableIndex = lua_gettop(L);
|
int tableIndex = lua_gettop(L);
|
||||||
debug("Table index: %d", tableIndex);
|
|
||||||
|
|
||||||
lua_getfield(L, tableIndex, "hp");
|
lua_getfield(L, tableIndex, "hp");
|
||||||
lua_getfield(L, tableIndex, "dmg");
|
lua_getfield(L, tableIndex, "dmg");
|
||||||
|
|
Loading…
Reference in New Issue