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

Make unlimited player transfer distance configurable

This commit is contained in:
Perttu Ahola 2011-12-02 11:22:09 +02:00
parent 2dc9a0c724
commit 34fd47887e
3 changed files with 4 additions and 1 deletions

View file

@ -88,7 +88,7 @@ void ServerRemotePlayer::removingFromEnvironment()
bool ServerRemotePlayer::unlimitedTransferDistance() const
{
return true;
return g_settings->getBool("unlimited_player_transfer_distance");
}
void ServerRemotePlayer::step(float dtime, bool send_recommended)