From 4082121511b0dd6ad59e2363f1c92521a8053cfb 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: [PATCH] Fix f5381798: Station::GetTileArea reduced docks to a single tile (#8014) --- src/station_cmd.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 385072b956..060e5a0d53 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; } /**