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