changeset 872 | 9b946bdc80d1 |
parent 868 | 081a13cb98eb |
child 926 | a6d140a6a4de |
--- a/main_gui.c Mon Jan 03 21:05:03 2005 +0000 +++ b/main_gui.c Mon Jan 03 21:26:09 2005 +0000 @@ -1202,11 +1202,10 @@ static void PlaceProc_RockyArea(uint tile) { - if (!IS_TILETYPE(tile, MP_CLEAR)) + if (!IS_TILETYPE(tile, MP_CLEAR) && !IS_TILETYPE(tile, MP_TREES)) return; - _map5[tile] = (_map5[tile] & ~0x1C) | 0xB; - MarkTileDirtyByTile(tile); + ModifyTile(tile, MP_SETTYPE(MP_CLEAR) | MP_MAP5, (_map5[tile] & ~0x1C) | 0xB); SndPlayTileFx(SND_1F_SPLAT, tile); }