(svn r16899) -Fix (r16896): Missing 'return'.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user