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 RenderBuildingOre(Actor self)
|
||||
: base(self)
|
||||
{
|
||||
anim.PlayThen("make", () => anim.PlayFetchIndex("idle",
|
||||
Make( () => anim.PlayFetchIndex("idle",
|
||||
() => (int)(5 * self.Owner.GetSiloFullness())));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user