This commit is contained in:
Chris Forbes
2009-11-04 20:31:59 +13:00
3 changed files with 63 additions and 70 deletions

View File

@@ -136,7 +136,7 @@ namespace OpenRa.Game
lastTime = Environment.TickCount;
}
const int oreFrequency = 20;
const int oreFrequency = 1;
static int oreTicks = oreFrequency;
public static int RenderFrame = 0;
@@ -155,8 +155,8 @@ namespace OpenRa.Game
if (--oreTicks == 0)
{
map.GrowOre(p => IsCellBuildable(p, UnitMovementType.Wheel), SharedRandom);
oreTicks = oreFrequency;
map.GrowOre(p => IsCellBuildable(p, UnitMovementType.Wheel), SharedRandom);
oreTicks = oreFrequency;
}
world.Tick();
UnitInfluence.Tick();