projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b246812
)
Remove duplicate lua_getfield() in c_converter.cpp
author
Kevin Ott
<supercodingmonkey@gmail.com>
Thu, 7 May 2015 06:50:22 +0000
(
02:50
-0400)
committer
Novatux
<nathanael.courant@laposte.net>
Thu, 7 May 2015 07:57:34 +0000
(09:57 +0200)
Fixes #2678
src/script/common/c_converter.cpp
patch
|
blob
|
history
diff --git
a/src/script/common/c_converter.cpp
b/src/script/common/c_converter.cpp
index 027df4dbfd2d159697272b1394dba06c5d81f3df..6bf48db0d2b9e62d3a3a1f83fffee1da2188b8ed 100644
(file)
--- 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");