diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-14 02:53:07 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-06-14 02:53:07 +0000 |
commit | b26c654efca7862355e78f49af1f18b7d84d8581 (patch) | |
tree | 4f9fa89ec36051ca4f1b6b8fa4dbbed6352e4c77 /src | |
parent | e08876d9902def26ce32ce1040304deec6a8ec71 (diff) | |
download | hercules-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
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) ) |