Fixed walking NPCs with monster sprites (#6325)
Sending all NPCs with new type now Fixes #6312 Thanks to @Everade and @attackjom
This commit is contained in:
parent
bca8287473
commit
4b9c3e37f3
@ -364,7 +364,7 @@ static inline unsigned char clif_bl_type(struct block_list *bl, bool walking) {
|
||||
// There is one exception and this is if they are walking.
|
||||
// Since walking NPCs are not supported on official servers, the client does not know how to handle it.
|
||||
#if PACKETVER >= 20170726
|
||||
return ( pcdb_checkid(status_get_viewdata(bl)->class_) && walking ) ? 0x0 : 0x6; //NPC_EVT_TYPE
|
||||
return ( pcdb_checkid(status_get_viewdata(bl)->class_) && walking ) ? 0x0 : 0xC; // New walking NPC type
|
||||
#else
|
||||
return pcdb_checkid(status_get_viewdata(bl)->class_) ? 0x0 : 0x6; //NPC_EVT_TYPE
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user