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:
77e4a46
)
Fix missing Y component assignment in check_v3f
author
kwolekr
<kwolekr@minetest.net>
Fri, 8 May 2015 04:03:41 +0000
(
00:03
-0400)
committer
kwolekr
<kwolekr@minetest.net>
Fri, 8 May 2015 04:03:41 +0000
(
00:03
-0400)
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 6bf48db0d2b9e62d3a3a1f83fffee1da2188b8ed..157db3b7d67b238e47e4da5aa03868f8daef7475 100644
(file)
--- a/
src/script/common/c_converter.cpp
+++ b/
src/script/common/c_converter.cpp
@@
-154,7
+154,7
@@
v3f check_v3f(lua_State *L, int index)
lua_pop(L, 1);
lua_getfield(L, index, "y");
CHECK_POS_COORD("y");
- pos.
Z
= lua_tonumber(L, -1);
+ pos.
Y
= lua_tonumber(L, -1);
lua_pop(L, 1);
lua_getfield(L, index, "z");
CHECK_POS_COORD("z");