Terrain data can now be placed again.

This commit is contained in:
Justin Marshall
2020-07-02 12:40:46 -07:00
parent 30efdc9689
commit 20a5c42f3a
4 changed files with 522 additions and 514 deletions
+5 -5
View File
@@ -491,11 +491,11 @@ void TerrainClass::AI(void)
assert(IsActive);
ObjectClass::AI();
// jmarshall - add back terrain mine
//if ((*this == TERRAIN_MINE) && (Frame % (Rule.GrowthRate * TICKS_PER_MINUTE)) == 0) {
// Map[::As_Cell(As_Target())].Spread_Tiberium(true);
//}
// jmarshall end
if ((*this == TERRAIN_MINE) && (Frame % (Rule.GrowthRate * TICKS_PER_MINUTE)) == 0) {
Map[::As_Cell(As_Target())].Spread_Tiberium(true);
}
if (StageClass::Graphic_Logic()) {
Mark();