From The Mana World

Pushed as d9813185f0f91a4254579ce04a3fe96bf13fe694

From e4f37bf7fc55aa1787bf887b527d2ea77ff2e77b Mon Sep 17 00:00:00 2001
From: Freeyorp <Freeyorp101@NOSPAM@hotmail.com>
Date: Tue, 12 May 2009 22:15:20 +1200
Subject: [PATCH] Don't show Hp and maxHp for the local player in the party window

It's already being displayed elsewhere, and it's partly broken anyway.
---
 src/gui/widgets/avatar.cpp |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/src/gui/widgets/avatar.cpp b/src/gui/widgets/avatar.cpp
index f177585..911fb7a 100644
--- a/src/gui/widgets/avatar.cpp
+++ b/src/gui/widgets/avatar.cpp
@@ -104,13 +104,7 @@ void Avatar::updateAvatarLabel()
     std::ostringstream ss;
     ss << mName;
 
-    if (mName == player_node->getName())
-    {
-        mHp = player_node->getHp();
-        mMaxHp = player_node->getMaxHp();
-    }
-
-    if (mMaxHp != 0)
+    if (mName != player_node->getName() && mMaxHp != 0)
         ss << "  (" << mHp << "/" << mMaxHp << ")";
 
     mLabel->setCaption(ss.str());
-- 
1.6.0.4