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

@@ -236,6 +236,7 @@ namespace OpenRa.Game
}
else if (mi.Button == MouseButtons.Right && mi.Event == MouseInputEvent.Down)
{
if( producing == null ) return;
if (item.Tag != producing.Item) return;
if (producing.Paused || producing.Done)