aboutsummaryrefslogtreecommitdiff
path: root/src/serverobject.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-02 01:08:14 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-02 01:08:14 +0200
commite4daa4c0658dc8547352dd2039ab74d963a48ff0 (patch)
treeb9fb32f98a4881649cda09b4eb083de25953ee3b /src/serverobject.h
parent08a10b8a6a77eb729d609979ee822134d5d7a645 (diff)
downloadminetest-e4daa4c0658dc8547352dd2039ab74d963a48ff0.tar.gz
minetest-e4daa4c0658dc8547352dd2039ab74d963a48ff0.tar.bz2
minetest-e4daa4c0658dc8547352dd2039ab74d963a48ff0.zip
Make players be again visible from a long distance
Diffstat (limited to 'src/serverobject.h')
-rw-r--r--src/serverobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index 1386136ce..fd8a51a9e 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -63,6 +63,9 @@ public:
// environment
virtual bool environmentDeletes() const
{ return true; }
+
+ virtual bool unlimitedTransferDistance() const
+ { return false; }
// Create a certain type of ServerActiveObject
static ServerActiveObject* create(u8 type,