From 34fd47887e72ab0a3f065b649c2dc1c92244ef80 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 2 Dec 2011 11:22:09 +0200 Subject: Make unlimited player transfer distance configurable --- src/serverremoteplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/serverremoteplayer.cpp') diff --git a/src/serverremoteplayer.cpp b/src/serverremoteplayer.cpp index c5033da50..bff414e1a 100644 --- a/src/serverremoteplayer.cpp +++ b/src/serverremoteplayer.cpp @@ -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) -- cgit v1.2.3