(svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()).
This commit is contained in:
@@ -452,7 +452,7 @@ void GenerateUnmovables()
|
||||
MakeLighthouse(tile);
|
||||
IncreaseGeneratingWorldProgress(GWP_UNMOVABLE);
|
||||
lighthouses_to_build--;
|
||||
TILE_ASSERT(tile);
|
||||
assert(tile < MapSize());
|
||||
break;
|
||||
}
|
||||
tile = AddTileIndexDiffCWrap(tile, TileIndexDiffCByDiagDir(dir));
|
||||
|
Reference in New Issue
Block a user