Remove World.FrameNumber.

This commit is contained in:
Paul Chote
2014-03-12 17:19:29 +13:00
parent a7d6f717c4
commit 20b88fd904
13 changed files with 22 additions and 24 deletions

View File

@@ -518,8 +518,7 @@ namespace OpenRA
return null;
}
var world = Game.orderManager.world;
int currFrame = world != null ? world.FrameNumber : 0;
var currFrame = Game.orderManager.LocalFrameNumber;
float atten = 1f;
// Check if max # of instances-per-location reached: