Skip to content

Commit

Permalink
Remove duplicate lua_getfield() in c_converter.cpp
Browse files Browse the repository at this point in the history
Fixes #2678
  • Loading branch information
Etzos authored and Ekdohibs committed May 7, 2015
1 parent b246812 commit e17c6ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/script/common/c_converter.cpp
Expand Up @@ -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");
Expand Down

0 comments on commit e17c6ba

Please sign in to comment.