mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Remove unused pos_max_d
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user