Some cleanups. (might break build for scripts as they are a WIP)
This commit is contained in:
@@ -61,7 +61,7 @@ namespace Game.Networking.Packets
|
||||
public SAttackStop(Unit attacker, Unit victim) : base(ServerOpcodes.AttackStop, ConnectionType.Instance)
|
||||
{
|
||||
Attacker = attacker.GetGUID();
|
||||
if (victim)
|
||||
if (victim != null)
|
||||
{
|
||||
Victim = victim.GetGUID();
|
||||
NowDead = !victim.IsAlive(); // using isAlive instead of isDead to catch JUST_DIED death states as well
|
||||
|
||||
Reference in New Issue
Block a user