Browse Source

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

Image 4 years ago
parent
commit
f1c2955003
1 changed files with 1 additions and 1 deletions
  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;