From 2b35e5ed0b002aff1cea62a98f5c7ea24b2b8d76 Mon Sep 17 00:00:00 2001 From: darkvater Date: Fri, 14 Jan 2005 22:03:09 +0000 Subject: (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. --- main_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_gui.c') 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); -- cgit v1.2.3-54-g00ecf