summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-21 15:22:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-21 15:22:33 +0300
commita48c9dc049e5c22a18f4ca16c0aedddc94812436 (patch)
tree6590f7d8cece5605651b5c1bc6cff7335a89d32e /src/net/ea/playerhandler.h
parentbae3199bffdb458276d937d64268d005f8fe0528 (diff)
downloadplus-a48c9dc049e5c22a18f4ca16c0aedddc94812436.tar.gz
plus-a48c9dc049e5c22a18f4ca16c0aedddc94812436.tar.bz2
plus-a48c9dc049e5c22a18f4ca16c0aedddc94812436.tar.xz
plus-a48c9dc049e5c22a18f4ca16c0aedddc94812436.zip
While updating stats Use INT_MAX as unset value for mod stat.
Diffstat (limited to 'src/net/ea/playerhandler.h')
-rw-r--r--src/net/ea/playerhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/ea/playerhandler.h b/src/net/ea/playerhandler.h
index b0d20be6e..57a6265da 100644
--- a/src/net/ea/playerhandler.h
+++ b/src/net/ea/playerhandler.h
@@ -59,6 +59,8 @@ class PlayerHandler notfinal : public Net::PlayerHandler
const int mod,
const bool notify) const override;
+ static const int NoStat = INT_MAX;
+
protected:
static void processPlayerWarp(Net::MessageIn &msg);