diff options
author | Freeyorp <Freeyorp101@NOSPAM@hotmail.com> | 2009-05-11 00:45:17 +1200 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-10 11:38:37 -0600 |
commit | 7f15330d969e5c973429d03ca767551e7b67c3c3 (patch) | |
tree | 45a1688f5b58ccec447dc501d74447363aab9d42 /src/net/ea | |
parent | f3ab737d9d508aaa25b01b462fa9c8f6c7a0d5d2 (diff) | |
download | mana-client-7f15330d969e5c973429d03ca767551e7b67c3c3.tar.gz mana-client-7f15330d969e5c973429d03ca767551e7b67c3c3.tar.bz2 mana-client-7f15330d969e5c973429d03ca767551e7b67c3c3.tar.xz mana-client-7f15330d969e5c973429d03ca767551e7b67c3c3.zip |
Add support for viewing the health and maximum health of other nearby members of your party.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index df75c5a9..c4653677 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -239,9 +239,10 @@ void PartyHandler::handleMessage(MessageIn &msg) } case SMSG_PARTY_UPDATE_HP: { - msg.readInt32(); // id - msg.readInt16(); // hp - msg.readInt16(); // hpMax + int id = msg.readInt32(); + int hp = msg.readInt16(); + int maxhp = msg.readInt16(); + partyWindow->updateMemberHP(id, hp, maxhp); } break; case SMSG_PARTY_UPDATE_COORDS: |