summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-06 23:54:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 23:54:04 +0300
commit6cd9fbf483eedbdc782688c3a0507e23930c4d5b (patch)
treefc0e81f65a17b520d4309ea68129d4e3e0ae0796 /src/net/eathena/beinghandler.cpp
parenta80d52c7b85e3e844a0185eff53ec65b8a176bee (diff)
downloadplus-6cd9fbf483eedbdc782688c3a0507e23930c4d5b.tar.gz
plus-6cd9fbf483eedbdc782688c3a0507e23930c4d5b.tar.bz2
plus-6cd9fbf483eedbdc782688c3a0507e23930c4d5b.tar.xz
plus-6cd9fbf483eedbdc782688c3a0507e23930c4d5b.zip
eathena: add packet SMSG_PLAYER_HP 0x080e.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index bff076502..7104298a8 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -94,6 +94,8 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_PVP_MAP_MODE,
SMSG_PVP_SET,
SMSG_MAP_TYPE_PROPERTY2,
+ SMSG_MONSTER_HP,
+ SMSG_PLAYER_HP,
0
};
handledMessages = _messages;
@@ -224,6 +226,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
break;
case SMSG_MONSTER_HP:
+ case SMSG_PLAYER_HP:
processMonsterHp(msg);
break;