diff options
author | frosch <frosch@openttd.org> | 2009-07-21 16:20:02 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-07-21 16:20:02 +0000 |
commit | f09df6460885470a865eb31b843bb564f3a8a078 (patch) | |
tree | 9b28ad27c18f615efac5cf85af5a167c8bbcb232 | |
parent | 4ba0e2301afff96af6b4611ff3745ae3ae82c64a (diff) | |
download | openttd-f09df6460885470a865eb31b843bb564f3a8a078.tar.xz |
(svn r16899) -Fix (r16896): Missing 'return'.
-rw-r--r-- | src/station_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index f21a2e1e1..dfcdfc85f 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -382,6 +382,7 @@ void Station::GetTileArea(TileArea *ta, StationType type) const ta->tile = this->airport_tile; ta->w = this->Airport()->size_x; ta->h = this->Airport()->size_y; + return; case STATION_TRUCK: ta->tile = this->truck_stops != NULL ? this->truck_stops->xy : INVALID_TILE; |