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:
Bob
2009-11-02 00:59:53 +13:00
parent 7e1417254c
commit 1d7798d40c
9 changed files with 36 additions and 25 deletions

View File

@@ -20,7 +20,7 @@ namespace OpenRa.Game.Traits
this.self = self;
roof = new Animation(self.unitInfo.Image ?? self.unitInfo.Name);
anim.PlayThen("make", () =>
Make( () =>
{
doneBuilding = true;
anim.Play("idle");