Skip to content
Snippets Groups Projects
Commit 0e64fc45 authored by kwolekr's avatar kwolekr
Browse files

Fix missing Y component assignment in check_v3f

parent 77e4a467
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment