Skip to content

Commit 0e64fc4

Browse files
committedMay 8, 2015
Fix missing Y component assignment in check_v3f
1 parent 77e4a46 commit 0e64fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/script/common/c_converter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ v3f check_v3f(lua_State *L, int index)
154154
lua_pop(L, 1);
155155
lua_getfield(L, index, "y");
156156
CHECK_POS_COORD("y");
157-
pos.Z = lua_tonumber(L, -1);
157+
pos.Y = lua_tonumber(L, -1);
158158
lua_pop(L, 1);
159159
lua_getfield(L, index, "z");
160160
CHECK_POS_COORD("z");

0 commit comments

Comments
 (0)
Please sign in to comment.