(svn r10672) -Codechange: typify some parameters/variables.

This commit is contained in:
rubidium
2007-07-24 13:03:24 +00:00
parent e66ab3b6f1
commit 9c9fc1a79e
9 changed files with 118 additions and 109 deletions

View File

@@ -758,7 +758,7 @@ void GenerateClearTile()
SetClearGroundDensity(tile, CLEAR_ROCKS, 3);
do {
if (--j == 0) goto get_out;
tile_new = tile + TileOffsByDiagDir(GB(Random(), 0, 2));
tile_new = tile + TileOffsByDiagDir((DiagDirection)GB(Random(), 0, 2));
} while (!IsTileType(tile_new, MP_CLEAR) || IsClearGround(tile_new, CLEAR_DESERT));
tile = tile_new;
}