Core/PacketIO: corrected setting the NowDead field in SMSG_ATTACK_STOP
Port From (https://github.com/TrinityCore/TrinityCore/commit/e77100c9238cc6bd1c84f328773cb9a34a9be0bc)
This commit is contained in:
@@ -78,7 +78,7 @@ namespace Game.Networking.Packets
|
||||
if (victim)
|
||||
{
|
||||
Victim = victim.GetGUID();
|
||||
NowDead = victim.IsDead();
|
||||
NowDead = !victim.IsAlive(); // using isAlive instead of isDead to catch JUST_DIED death states as well
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user