summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-11 22:21:34 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-11 22:21:34 +0000
commit617311ef61537ed544e53e81956b8d687e8b8789 (patch)
treebb5ef9729e094e32cebe157b494b79742811a6b6 /src/map/clif.c
parent8f8e2e42ba3ea1416b80190a3006c061ef4ed8b5 (diff)
downloadhercules-617311ef61537ed544e53e81956b8d687e8b8789.tar.gz
hercules-617311ef61537ed544e53e81956b8d687e8b8789.tar.bz2
hercules-617311ef61537ed544e53e81956b8d687e8b8789.tar.xz
hercules-617311ef61537ed544e53e81956b8d687e8b8789.zip
- Added player not attached crash prevention to countitem/countitem2
- Probably corrected delitem not deleting pet eggs at all. - Possibly nullpo fix on npcskilleffect - Corrected a warning when using #fakename - Hopefully fixed hidenpc/disablenpc not working on Guild flag sprites. - Mob skill state "anytarget" no longer triggers when the mob has an item-target (looting). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9991 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 977934afc..bcfae2bf2 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -942,7 +942,7 @@ static int clif_set0078(struct block_list *bl, struct view_data *vd, unsigned ch
WBUFW(buf,14)=vd->class_;
WBUFW(buf,16)=vd->hair_style; //Required for pets.
WBUFW(buf,20)=vd->head_bottom; //Pet armor
- if (bl->type == BL_NPC && vd->class_ == 722)
+ if (bl->type == BL_NPC && vd->class_ == FLAG_CLASS)
{ //The hell, why flags work like this?
WBUFL(buf,22)=emblem_id;
WBUFL(buf,26)=guild_id;