facings for bullets, where appropriate.
This commit is contained in:
@@ -35,12 +35,12 @@ namespace OpenRa.Effects
|
||||
|
||||
if (Projectile.Image != null && Projectile.Image != "none")
|
||||
{
|
||||
anim = new Animation(Projectile.Image);
|
||||
|
||||
if (Projectile.Rotates)
|
||||
Traits.Util.PlayFacing(anim, "idle", () => Facing);
|
||||
anim = new Animation(Projectile.Image, () => Facing);
|
||||
else
|
||||
anim.PlayRepeating("idle");
|
||||
anim = new Animation(Projectile.Image);
|
||||
|
||||
anim.PlayRepeating("idle");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user