1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Rename moveresult speed to velocity

This commit is contained in:
SmallJoker 2020-05-04 20:02:33 +02:00 committed by Loïc Blot
parent 3ed5619d9a
commit 1b6f40c356
2 changed files with 4 additions and 4 deletions

View file

@ -2046,10 +2046,10 @@ void push_collision_move_result(lua_State *L, const collisionMoveResult &res)
}
push_v3f(L, c.old_speed / BS);
lua_setfield(L, -2, "old_speed");
lua_setfield(L, -2, "old_velocity");
push_v3f(L, c.new_speed / BS);
lua_setfield(L, -2, "new_speed");
lua_setfield(L, -2, "new_velocity");
lua_rawseti(L, -2, i++);
}