diff options
-rw-r--r-- | main_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c index 50252f367..86fec3d1e 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1219,7 +1219,7 @@ static void PlaceProc_LightHouse(TileIndex tile) TileInfo ti; FindLandscapeHeightByTile(&ti, tile); - if (IsTileType(tile, MP_CLEAR) || IsSteepTileh(ti.tileh)) + if (!IsTileType(tile, MP_CLEAR) || IsSteepTileh(ti.tileh)) return; ModifyTile(tile, MP_SETTYPE(MP_UNMOVABLE) | MP_MAP5, 1); @@ -1231,7 +1231,7 @@ static void PlaceProc_Transmitter(TileIndex tile) TileInfo ti; FindLandscapeHeightByTile(&ti, tile); - if (IsTileType(tile, MP_CLEAR) || IsSteepTileh(ti.tileh)) + if (!IsTileType(tile, MP_CLEAR) || IsSteepTileh(ti.tileh)) return; ModifyTile(tile, MP_SETTYPE(MP_UNMOVABLE) | MP_MAP5, 0); |