changeset 7317 | e61af9d8a2b3 |
parent 7313 | a36dc43afcb5 |
child 7335 | 141c6b86ec1f |
--- a/src/clear_cmd.cpp Tue Jul 24 12:29:47 2007 +0000 +++ b/src/clear_cmd.cpp Tue Jul 24 13:03:24 2007 +0000 @@ -758,7 +758,7 @@ 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; }