summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-18 01:44:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-18 01:44:46 +0300
commitf8e585948bafdbef35eca175daa6c88c519cc6d0 (patch)
tree84d470afe8d9cd03e7c26ad4527d5882e297b856 /src/localplayer.cpp
parentf2be8a660292d3c45771a400de8048cb5cd5eb8b (diff)
downloadmanaplus-f8e585948bafdbef35eca175daa6c88c519cc6d0.tar.gz
manaplus-f8e585948bafdbef35eca175daa6c88c519cc6d0.tar.bz2
manaplus-f8e585948bafdbef35eca175daa6c88c519cc6d0.tar.xz
manaplus-f8e585948bafdbef35eca175daa6c88c519cc6d0.zip
increase 10 ms timer max value to INT_MAX / 2.
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;