1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00

Remove unused pos_max_d

This commit is contained in:
sfan5 2024-11-11 19:46:02 +01:00
parent 9a44d835d6
commit c00129360e
11 changed files with 29 additions and 79 deletions

View file

@ -96,7 +96,6 @@ void ClientEnvironment::step(float dtime)
/*
Maximum position increment
*/
//f32 position_max_increment = 0.05*BS;
f32 position_max_increment = 0.1*BS;
// Maximum time increment (for collision detection etc)
@ -176,12 +175,11 @@ void ClientEnvironment::step(float dtime)
}
/*
Move the lplayer.
Move the local player.
This also does collision detection.
*/
lplayer->move(dtime_part, this, position_max_increment,
&player_collisions);
lplayer->move(dtime_part, this, &player_collisions);
}
bool player_immortal = false;