diff options
Diffstat (limited to 'src/disaster_cmd.cpp')
-rw-r--r-- | src/disaster_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/disaster_cmd.cpp b/src/disaster_cmd.cpp index 8f03584b3..98cfe8692 100644 --- a/src/disaster_cmd.cpp +++ b/src/disaster_cmd.cpp @@ -889,8 +889,10 @@ static void Disaster_Submarine_Init(DisasterSubType subtype) dir = DIR_NW; } else { y = TILE_SIZE / 2; + if (_settings_game.construction.freeform_edges) y += TILE_SIZE; dir = DIR_SE; } + if (!IsWaterTile(TileVirtXY(x, y))) return; Vehicle *v = new DisasterVehicle(); InitializeDisasterVehicle(v, x, y, 0, dir, subtype); |