Fixed specialised buildings not having their power requirements added/subtracted.

This commit is contained in:
Matthew Bowra-Dean
2009-11-09 23:07:35 +13:00
parent cfd99b5250
commit 0040db61cd
4 changed files with 14 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ namespace OpenRa.Game.Traits
public RenderBuildingTurreted(Actor self)
: base(self)
{
Make( () => PlayTurretAnim( self, "idle" ));
Make( () => PlayTurretAnim( self, "idle" ), self);
}
void PlayTurretAnim(Actor self, string a)