1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02: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)