Changeset - r1780:3dca839502b1
[Not reviewed]
master
0 1 0
Darkvater - 19 years ago 2005-05-08 21:00:56
darkvater@openttd.org
(svn r2284) - Fix (regression): [ 1197177 ] Scenario editor: desert add/remove tool removes industries. Fixed a bit too agressive desert generator. It still does remove the industry (sand's a bitch on machinery), but at least it does it cleanly :)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
terraform_gui.c
Show inline comments
 
@@ -50,7 +50,7 @@ static void GenerateDesertArea(TileIndex
 
	BEGIN_TILE_LOOP(tile, size_x, size_y, TILE_XY(sx, sy)) {
 
		if (GetTileType(tile) != MP_WATER) {
 
			SetMapExtraBits(tile, (_ctrl_pressed) ? 0 : 1);
 
			DoClearSquare(tile);
 
			DoCommandP(tile, 0, 0, NULL, CMD_LANDSCAPE_CLEAR);
 
			MarkTileDirtyByTile(tile);
 
		}
 
	} END_TILE_LOOP(tile, size_x, size_y, 0);
0 comments (0 inline, 0 general)