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

Remove redundant CollisionInfo::plane

This commit is contained in:
sfan5 2024-11-08 15:03:48 +01:00
parent f916f5de78
commit 9a44d835d6
3 changed files with 3 additions and 7 deletions

View file

@ -509,7 +509,6 @@ collisionMoveResult collisionMoveSimple(Environment *env, IGameDef *gamedef,
info.object = nearest_info.obj;
info.new_pos = *pos_f;
info.old_speed = *speed_f;
info.plane = nearest_collided;
// Set the speed component that caused the collision to zero
if (step_up) {