From e17c6ba2cdab2ec753646ba9984716c5a88ad0a0 Mon Sep 17 00:00:00 2001 From: Kevin Ott Date: Thu, 7 May 2015 02:50:22 -0400 Subject: [PATCH] Remove duplicate lua_getfield() in c_converter.cpp Fixes #2678 --- src/script/common/c_converter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/script/common/c_converter.cpp b/src/script/common/c_converter.cpp index 027df4dbf..6bf48db0d 100644 --- a/src/script/common/c_converter.cpp +++ b/src/script/common/c_converter.cpp @@ -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");