summaryrefslogtreecommitdiff
path: root/src/net/ea/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-27 21:56:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-27 21:56:44 +0300
commit7f7625e913fd1d131feef4f816c90c33e79316d1 (patch)
treeec5a647b07188f4f3f9005313dfa2856b04d9882 /src/net/ea/beinghandler.cpp
parent5f61b3a8ec592bc251a08366656b55bdfe3736a0 (diff)
downloadmv-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.cpp3
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();