From 1007d606645c16d5246761976b7648809edb8b1d Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 14 Mar 2014 14:08:30 -0300 Subject: 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 --- db/mob_avail.txt | 2 +- src/map/clif.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/mob_avail.txt b/db/mob_avail.txt index 86354b59f..2df4ddedc 100644 --- a/db/mob_avail.txt +++ b/db/mob_avail.txt @@ -21,7 +21,7 @@ //1920,1047,0 //1921,1093,0 -// rAthena Dev Team +// eA Dev Team // Valaris //1900,4013,1,1,1,1254,0,67,12,54,16,1 // Valaris Worshiper 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 -- cgit v1.2.3-70-g09d2