ProjectileArgs facing -> WAngle.

This commit is contained in:
Paul Chote
2020-05-08 20:54:29 +01:00
committed by reaperrr
parent 6d6b21a0eb
commit 2cfacc2c7d
8 changed files with 17 additions and 21 deletions

View File

@@ -133,8 +133,8 @@ namespace OpenRA.Mods.D2k.Traits
var args = new ProjectileArgs
{
Weapon = self.World.Map.Rules.Weapons[info.Weapon.ToLowerInvariant()],
Facing = 0,
CurrentMuzzleFacing = () => 0,
Facing = WAngle.Zero,
CurrentMuzzleFacing = () => WAngle.Zero,
DamageModifiers = self.TraitsImplementing<IFirepowerModifier>()
.Select(a => a.GetFirepowerModifier()).ToArray(),