Buildings with special rendering now skip their make animation. Removed IsMapActor; make-skipping is now controlled by a global in Game.
This commit is contained in:
@@ -10,7 +10,7 @@ namespace OpenRa.Game.Traits
|
||||
public RenderBuildingTurreted(Actor self)
|
||||
: base(self)
|
||||
{
|
||||
anim.PlayThen( "make", () => anim.PlayFetchIndex( "idle",
|
||||
Make( () => anim.PlayFetchIndex( "idle",
|
||||
() => self.traits.Get<Turreted>().turretFacing / 8 ) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user