mirror of https://github.com/OpenTTD/OpenTTD
Fix f5381798: Station::GetTileArea reduced docks to a single tile (#8014)
parent
0ade8b20fe
commit
ea7044a74b
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue