Kaynağa Gözat

Fixed walking NPCs with monster sprites (#6325)

Sending all NPCs with new type now

Fixes #6312

Thanks to @Everade and @attackjom
Lemongrass3110 3 yıl önce
ebeveyn
işleme
4b9c3e37f3
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/map/clif.cpp

+ 1 - 1
src/map/clif.cpp

@@ -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