added 'self' to IPips.GetPips

This commit is contained in:
Chris Forbes
2010-01-05 12:26:10 +13:00
parent 512e56aec7
commit 52f99cb055
6 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ namespace OpenRa.Game.Traits
public void Attacking(Actor self) { --ammo; }
public IEnumerable<PipType> GetPips()
public IEnumerable<PipType> GetPips(Actor self)
{
return Graphics.Util.MakeArray(self.Info.Ammo,
i => ammo > i ? PipType.Green : PipType.Transparent);