소스 검색

Fix for chests and other spawns/widgets/objects having HP of 0 showing up as corpses

Image 4 년 전
부모
커밋
f1c2955003
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      EQ2/source/WorldServer/Spawn.cpp

+ 1 - 1
EQ2/source/WorldServer/Spawn.cpp

@@ -2025,7 +2025,7 @@ void Spawn::InitializeInfoPacketData(Player* spawn, PacketStruct* packet){
 
 	int32 temp_activity_status = 0;
 	
-	if (!Alive() && !IsObject() && !IsGroundSpawn())
+	if (!Alive() && GetTotalHP() > 0 && !IsObject() && !IsGroundSpawn())
 		temp_activity_status = 1;
 
 	temp_activity_status += (IsNPC() || IsObject() || IsGroundSpawn()) ? 1 << 1 : 0;