1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-08-13 16:53:49 -04:00

Remove duplicate lua_getfield() in c_converter.cpp

Fixes #2678
This commit is contained in:
Kevin Ott 2015-05-07 02:50:22 -04:00 committed by Novatux
parent b246812455
commit e17c6ba2cd

View File

@ -105,7 +105,6 @@ v2f read_v2f(lua_State *L, int index)
v2f p;
CHECK_POS_TAB(index);
lua_getfield(L, index, "x");
lua_getfield(L, index, "x");
p.X = lua_tonumber(L, -1);
lua_pop(L, 1);
lua_getfield(L, index, "y");