mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 00:47:29 +01:00
Fix missing Y component assignment in check_v3f
This commit is contained in:
parent
77e4a467f0
commit
0e64fc45b9
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user