mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-16 17:15:05 +01:00
(svn r16899) -Fix (r16896): Missing 'return'.
This commit is contained in:
parent
4ba0e2301a
commit
f09df64608
@ -382,6 +382,7 @@ void Station::GetTileArea(TileArea *ta, StationType type) const
|
|||||||
ta->tile = this->airport_tile;
|
ta->tile = this->airport_tile;
|
||||||
ta->w = this->Airport()->size_x;
|
ta->w = this->Airport()->size_x;
|
||||||
ta->h = this->Airport()->size_y;
|
ta->h = this->Airport()->size_y;
|
||||||
|
return;
|
||||||
|
|
||||||
case STATION_TRUCK:
|
case STATION_TRUCK:
|
||||||
ta->tile = this->truck_stops != NULL ? this->truck_stops->xy : INVALID_TILE;
|
ta->tile = this->truck_stops != NULL ? this->truck_stops->xy : INVALID_TILE;
|
||||||
|
Loading…
Reference in New Issue
Block a user