spy behavior

This commit is contained in:
Chris Forbes
2010-01-15 18:02:05 +13:00
parent 342d6c26d2
commit 4e7c604764
9 changed files with 67 additions and 13 deletions

View File

@@ -20,10 +20,6 @@ namespace OpenRa.Game.Traits
if (Game.LocalPlayer == thief.Owner)
Sound.Play("credit1.aud");
// the thief is sacrificed.
thief.Health = 0;
Game.world.AddFrameEndTask(w => w.Remove(thief));
}
public IEnumerable<PipType> GetPips(Actor self)
@@ -33,7 +29,6 @@ namespace OpenRa.Game.Traits
return Graphics.Util.MakeArray( numPips,
i => (Game.LocalPlayer.GetSiloFullness() > i * 1.0f / numPips)
? PipType.Yellow : PipType.Transparent );
}
}
}