From f8e585948bafdbef35eca175daa6c88c519cc6d0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Apr 2013 01:44:46 +0300 Subject: increase 10 ms timer max value to INT_MAX / 2. --- src/client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index d7fbea6aa..46f8c2310 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -123,6 +123,7 @@ #include +#include #include #include @@ -134,7 +135,7 @@ * Tells the max tick value, * setting it back to zero (and start again). */ -static const int MAX_TICK_VALUE = 10000; +static const int MAX_TICK_VALUE = INT_MAX / 2; // TODO: Get rid fo these globals std::string errorMessage; -- cgit v1.2.3-60-g2f50