summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-09-16 20:09:03 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-09-16 20:09:03 +0200
commit059648fcb1efcec25b67538162d067ef1cfab1cf (patch)
tree13c36b5e8877ab3e39fcc8fd6844ee5551a8d09a
parentAttempt at fixing linux crash on player login. (diff)
parentVanilla like maximum and default view distance (diff)
downloadcuberite-059648fcb1efcec25b67538162d067ef1cfab1cf.tar
cuberite-059648fcb1efcec25b67538162d067ef1cfab1cf.tar.gz
cuberite-059648fcb1efcec25b67538162d067ef1cfab1cf.tar.bz2
cuberite-059648fcb1efcec25b67538162d067ef1cfab1cf.tar.lz
cuberite-059648fcb1efcec25b67538162d067ef1cfab1cf.tar.xz
cuberite-059648fcb1efcec25b67538162d067ef1cfab1cf.tar.zst
cuberite-059648fcb1efcec25b67538162d067ef1cfab1cf.zip
-rw-r--r--source/ClientHandle.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/ClientHandle.h b/source/ClientHandle.h
index 07efc5d9c..01059c511 100644
--- a/source/ClientHandle.h
+++ b/source/ClientHandle.h
@@ -1,4 +1,3 @@
-
// cClientHandle.h
// Interfaces to the cClientHandle class representing a client connected to this server. The client need not be a player yet
@@ -53,9 +52,9 @@ public:
#if defined(ANDROID_NDK)
static const int DEFAULT_VIEW_DISTANCE = 4; // The default ViewDistance (used when no value is set in Settings.ini)
#else
- static const int DEFAULT_VIEW_DISTANCE = 9;
+ static const int DEFAULT_VIEW_DISTANCE = 10;
#endif
- static const int MAX_VIEW_DISTANCE = 10;
+ static const int MAX_VIEW_DISTANCE = 15;
static const int MIN_VIEW_DISTANCE = 3;
/// How many ticks should be checked for a running average of explosions, for limiting purposes