fixed ore spreading; units no longer block

This commit is contained in:
Chris Forbes
2009-11-04 22:59:51 +13:00
parent 66fd532db8
commit 7e0b0541e2
3 changed files with 14 additions and 5 deletions

View File

@@ -165,7 +165,7 @@ namespace OpenRa.Game
if (--oreTicks == 0)
{
var oresw = new Stopwatch();
map.GrowOre(p => IsCellBuildable(p, UnitMovementType.Wheel), SharedRandom);
map.GrowOre(SharedRandom);
OreTime = oresw.ElapsedTime();
oreTicks = oreFrequency;
}