diff options
author | darkvater <darkvater@openttd.org> | 2005-01-14 22:03:09 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-14 22:03:09 +0000 |
commit | 976ed5e39684508f77f3e86c9f0a792d63b9e8e0 (patch) | |
tree | 9a628fc939cbb567b401ac147779036fbb67cd22 | |
parent | 83b00ad861585676451ffcc0b20573c3715abd1d (diff) | |
download | openttd-976ed5e39684508f77f3e86c9f0a792d63b9e8e0.tar.xz |
(svn r1514) -Fix: [1092474] little red box in scenario editor (Celestar). Error box is also shown in scenario editor for terraforming, thus solving the eternally-pulsating-tile problem.
-rw-r--r-- | main_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c index 783762b43..4098e2f1f 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1138,7 +1138,7 @@ static void CommonRaiseLowerBigLand(uint tile, int mode) // tile = TILE_FROM_XY(TileX(tile) * 16 + _tile_fract_coords.x + 8, TileY(tile) * 16 + _tile_fract_coords.y + 8); if (_terraform_size == 1) { - DoCommandP(tile, 8, (uint32)mode, CcTerraform, CMD_TERRAFORM_LAND | CMD_AUTO); + DoCommandP(tile, 8, (uint32)mode, CcTerraform, CMD_TERRAFORM_LAND | CMD_AUTO | CMD_MSG(_error_message_2)); } else { SndPlayTileFx(SND_1F_SPLAT, tile); |