Core/Movement:

* splines that are being sent via StopMoving() will now send the correct spline data when a unit has died
* corrected setting the NowDead field in SMSG_ATTACK_STOP to prevent creature's from looking away from the cool guys when dying
This commit is contained in:
Ovahlord committed 2020-11-19 03:18:06 +01:00
1 parent 882254e3cd
commit 2075879183
2 files changed
+10 -2

No files matched your search

@@ -101,7 +101,7 @@ WorldPackets::Combat::SAttackStop::SAttackStop(Unit const* attacker, Unit const*
if (victim)
{
Victim = victim->GetGUID();
NowDead = victim->isDead();
NowDead = !attacker->IsAlive(); // using IsAlive instead of IsDead to catch JUST_DIED death states as well
}
}