Changeset - r10345:c0326f4cf7e5
[Not reviewed]
master
0 1 0
frosch - 16 years ago 2008-11-19 16:53:24
frosch@openttd.org
(svn r14596) -Fix (r14591): Missing 'return'.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/town_cmd.cpp
Show inline comments
 
@@ -2480,7 +2480,7 @@ Town *ClosestTownFromTile(TileIndex tile
 
				TownID tid = GetTownIndex(tile);
 
				if (tid == (TownID)INVALID_TOWN) {
 
					/* in the case we are generating "many random towns", this value may be INVALID_TOWN */
 
					if (_generating_world) CalcClosestTownFromTile(tile, threshold);
 
					if (_generating_world) return CalcClosestTownFromTile(tile, threshold);
 
					assert(GetNumTowns() == 0);
 
					return NULL;
 
				}
0 comments (0 inline, 0 general)