diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-27 21:56:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-27 21:56:44 +0300 |
commit | 7f7625e913fd1d131feef4f816c90c33e79316d1 (patch) | |
tree | ec5a647b07188f4f3f9005313dfa2856b04d9882 /src/net/ea/beinghandler.cpp | |
parent | 5f61b3a8ec592bc251a08366656b55bdfe3736a0 (diff) | |
download | mv-7f7625e913fd1d131feef4f816c90c33e79316d1.tar.gz mv-7f7625e913fd1d131feef4f816c90c33e79316d1.tar.bz2 mv-7f7625e913fd1d131feef4f816c90c33e79316d1.tar.xz mv-7f7625e913fd1d131feef4f816c90c33e79316d1.zip |
Remove some evol server checks.
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index b7e9a0467..f5df5c55c 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -55,6 +55,7 @@ #include "debug.h" extern int serverVersion; +extern unsigned int tmwServerVersion; namespace Ea { @@ -230,7 +231,7 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg, uint16_t gloves; if (dstBeing->getType() == ActorType::MONSTER) { - if (serverVersion > 0) + if (serverVersion > 0 || tmwServerVersion >= 0x0E0701) { const int hp = msg.readInt32(); const int maxHP = msg.readInt32(); |