summaryrefslogtreecommitdiff
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
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>
-rw-r--r--db/mob_avail.txt2
-rw-r--r--src/map/clif.c2
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