From 7f15330d969e5c973429d03ca767551e7b67c3c3 Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Mon, 11 May 2009 00:45:17 +1200 Subject: Add support for viewing the health and maximum health of other nearby members of your party. --- src/net/ea/partyhandler.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/net/ea/partyhandler.cpp') 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: -- cgit v1.2.3-70-g09d2