From 947fc8a8ec7eec13b0c405b4019c068706b5f3cf Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 7 Nov 2005 16:19:45 +0000 Subject: (svn r3153) - Feature: [ 1276827 ] Drag and drop rocky areas in scenario editor (MeusH-ish) --- main_gui.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'main_gui.c') diff --git a/main_gui.c b/main_gui.c index 212d5f48b..80e4f1105 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1211,11 +1211,7 @@ static void PlaceProc_LowerBigLand(TileIndex tile) static void PlaceProc_RockyArea(TileIndex tile) { - if (!IsTileType(tile, MP_CLEAR) && !IsTileType(tile, MP_TREES)) - return; - - ModifyTile(tile, MP_SETTYPE(MP_CLEAR) | MP_MAP5, (_m[tile].m5 & ~0x1C) | 0xB); - SndPlayTileFx(SND_1F_SPLAT, tile); + VpStartPlaceSizing(tile, VPM_X_AND_Y | GUI_PlaceProc_RockyArea); } static void PlaceProc_LightHouse(TileIndex tile) -- cgit v1.2.3-70-g09d2