# HG changeset patch # User SamuXarick <43006711+SamuXarick@users.noreply.github.com> # Date 2020-02-22 14:51:58 # Node ID 35dc08a3586b67fed24d19b47c231a7b5aaac4f7 # Parent 4a7343dfb19baa16d95df8137c8f93888f3abec4 Fix f5381798: Station::GetTileArea reduced docks to a single tile (#8014) diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -400,13 +400,10 @@ void Station::GetTileArea(TileArea *ta, case STATION_DOCK: case STATION_OILRIG: *ta = this->docking_station; - break; + return; default: NOT_REACHED(); } - - ta->w = 1; - ta->h = 1; } /**