From ea7044a74b9b6ccf003c88dfc8ab0ca3f991a777 Mon Sep 17 00:00:00 2001 From: SamuXarick <43006711+SamuXarick@users.noreply.github.com> Date: Sat, 22 Feb 2020 14:51:58 +0000 Subject: Fix f5381798: Station::GetTileArea reduced docks to a single tile (#8014) --- src/station_cmd.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 385072b95..060e5a0d5 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -400,13 +400,10 @@ void Station::GetTileArea(TileArea *ta, StationType type) const case STATION_DOCK: case STATION_OILRIG: *ta = this->docking_station; - break; + return; default: NOT_REACHED(); } - - ta->w = 1; - ta->h = 1; } /** -- cgit v1.2.3-54-g00ecf