mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Remove unused pos_max_d
This commit is contained in:
@@ -1404,21 +1404,6 @@ void ServerEnvironment::step(float dtime)
|
||||
m_game_time_fraction_counter -= (float)inc_i;
|
||||
}
|
||||
|
||||
/*
|
||||
Handle players
|
||||
*/
|
||||
{
|
||||
ScopeProfiler sp(g_profiler, "ServerEnv: move players", SPT_AVG);
|
||||
for (RemotePlayer *player : m_players) {
|
||||
// Ignore disconnected players
|
||||
if (player->getPeerId() == PEER_ID_INEXISTENT)
|
||||
continue;
|
||||
|
||||
// Move
|
||||
player->move(dtime, this, 100 * BS);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Manage active block list
|
||||
*/
|
||||
|
Reference in New Issue
Block a user