Changes Weapon.Impact() to use Target (from WPos).
This commit is contained in:
@@ -65,7 +65,7 @@ namespace OpenRA.Mods.D2k
|
||||
if (health.HP <= damageThreshold || --damageTicks > 0)
|
||||
return;
|
||||
|
||||
weapon.Impact(self.CenterPosition, self.World.WorldActor, Enumerable.Empty<int>());
|
||||
weapon.Impact(Target.FromActor(self), self.World.WorldActor, Enumerable.Empty<int>());
|
||||
damageTicks = weapon.ReloadDelay;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user