pruning refs to Game.world

This commit is contained in:
Bob
2010-08-20 17:46:58 +12:00
parent 0e71af25f4
commit 3f68330c70
13 changed files with 30 additions and 17 deletions

View File

@@ -89,7 +89,7 @@ namespace OpenRA.Mods.RA
foreach (var r in rs)
yield return r;
if (self.Owner == Game.world.LocalPlayer && Level > 0)
if (self.Owner == self.World.LocalPlayer && Level > 0)
{
RankAnim.Tick(); // hack
var bounds = self.GetBounds(true);