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:
parent
9a44d835d6
commit
c00129360e
11 changed files with 29 additions and 79 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue