1
0
Fork 0

Fix f5381798: Station::GetTileArea reduced docks to a single tile (#8014)

pull/8021/head
SamuXarick 2020-02-22 14:51:58 +00:00 committed by GitHub
parent 0ade8b20fe
commit ea7044a74b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -400,13 +400,10 @@ void Station::GetTileArea(TileArea *ta, StationType type) const
case STATION_DOCK: case STATION_DOCK:
case STATION_OILRIG: case STATION_OILRIG:
*ta = this->docking_station; *ta = this->docking_station;
break; return;
default: NOT_REACHED(); default: NOT_REACHED();
} }
ta->w = 1;
ta->h = 1;
} }
/** /**