pushed bibs down into the smudge layer; made Game static

This commit is contained in:
Chris Forbes
2009-10-20 20:47:04 +13:00
parent e41e74e609
commit a4c344523f
26 changed files with 201 additions and 202 deletions

View File

@@ -12,9 +12,9 @@ namespace OpenRa.Game.Traits
}
bool first = true;
public void Tick(Actor self, Game game)
public void Tick(Actor self)
{
if (first && self.Owner == game.LocalPlayer)
if (first && self.Owner == Game.LocalPlayer)
{
self.Owner.TechTree.Build(self.unitInfo.Name, true);
self.CenterLocation = Game.CellSize * (float2)self.Location + 0.5f * self.SelectedSize;