summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-03-14 14:08:30 -0300
committershennetsind <ind@henn.et>2014-03-14 14:08:30 -0300
commit1007d606645c16d5246761976b7648809edb8b1d (patch)
treed1142f39529478e4b32928c4a6e6c8f5503fa98a /src/map/clif.c
parent7078cb3a0eb55d1cdc0c0f043381b0d177058092 (diff)
downloadhercules-1007d606645c16d5246761976b7648809edb8b1d.tar.gz
hercules-1007d606645c16d5246761976b7648809edb8b1d.tar.bz2
hercules-1007d606645c16d5246761976b7648809edb8b1d.tar.xz
hercules-1007d606645c16d5246761976b7648809edb8b1d.zip
Fixed Bug 8083
Player-looking NPCs will now display properly, thanks to evilpuncker. http://hercules.ws/board/tracker/issue-8083-mob-avail-npc-sprite/ Signed-off-by: shennetsind <ind@henn.et>
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 31f2e07c1..e72a3c204 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -252,7 +252,7 @@ static inline unsigned char clif_bl_type(struct block_list *bl) {
case BL_SKILL: return 0x3; //SKILL_TYPE
case BL_CHAT: return 0x4; //UNKNOWN_TYPE
case BL_MOB: return pcdb_checkid(status->get_viewdata(bl)->class_)?0x0:0x5; //NPC_MOB_TYPE
- case BL_NPC: return 0x6; //NPC_EVT_TYPE
+ case BL_NPC: return pcdb_checkid(status->get_viewdata(bl)->class_)?0x0:0x6; //NPC_EVT_TYPE
case BL_PET: return pcdb_checkid(status->get_viewdata(bl)->class_)?0x0:0x7; //NPC_PET_TYPE
case BL_HOM: return 0x8; //NPC_HOM_TYPE
case BL_MER: return 0x9; //NPC_MERSOL_TYPE