summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-06-14 02:53:07 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-06-14 02:53:07 +0000
commitb26c654efca7862355e78f49af1f18b7d84d8581 (patch)
tree4f9fa89ec36051ca4f1b6b8fa4dbbed6352e4c77
parente08876d9902def26ce32ce1040304deec6a8ec71 (diff)
downloadhercules-b26c654efca7862355e78f49af1f18b7d84d8581.tar.gz
hercules-b26c654efca7862355e78f49af1f18b7d84d8581.tar.bz2
hercules-b26c654efca7862355e78f49af1f18b7d84d8581.tar.xz
hercules-b26c654efca7862355e78f49af1f18b7d84d8581.zip
'clif_hpmeter' shouldn't send the packet to the player himself.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14341 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/clif.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index cbdf0c080..09c5c6dae 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2010/06/13
+ * 'clif_hpmeter' shouldn't send the packet to the player himself. [Inkfish]
2010/06/10
* Rev. 14336 Updated SC_ITEMBOOST to work similar to how it used to in r11351. [L0ne_W0lf]
- Will not boost drop rates past 90%, but ignores those already greater than.
diff --git a/src/map/clif.c b/src/map/clif.c
index 75797a821..65df60718 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5987,7 +5987,7 @@ int clif_hpmeter_sub(struct block_list *bl, va_list ap)
nullpo_retr(0, sd);
nullpo_retr(0, tsd);
- if( !tsd->fd )
+ if( !tsd->fd || tsd == sd )
return 0;
if( (level = pc_isGM(tsd)) >= battle_config.disp_hpmeter && level >= pc_isGM(sd) )