diff options
-rw-r--r-- | src/station_cmd.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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; } /** |