We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a006e66 commit 345e058Copy full SHA for 345e058
1 file changed
src/server/game/Entities/Unit/Unit.cpp
@@ -2352,7 +2352,7 @@ void Unit::SendMeleeAttackStop(Unit const* victim) const
2352
WorldPackets::Combat::SAttackStop attackStop;
2353
attackStop.Attacker = GetGUID();
2354
attackStop.Victim = Object::GetGUID(victim);
2355
- attackStop.NowDead = victim && !victim->IsAlive();
+ attackStop.NowDead = !IsAlive();
2356
SendMessageToSet(attackStop.Write(), true);
2357
2358
if (victim)
0 commit comments