summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 522a3e259..774061137 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -73,10 +73,12 @@
#include "mumblemanager.h"
+#include <climits>
+
#include "debug.h"
static const short awayLimitTimer = 60;
-static const int MAX_TICK_VALUE = 10000;
+static const int MAX_TICK_VALUE = INT_MAX / 2;
typedef std::map<int, Guild*>::const_iterator GuildMapCIter;