--- a/unmovable_cmd.c Wed Jul 13 18:46:51 2005 +0000
+++ b/unmovable_cmd.c Wed Jul 13 19:51:31 2005 +0000
@@ -347,10 +347,7 @@
i = ScaleByMapSize(1000);
j = ScaleByMapSize(40); // maximum number of radio towers on the map
do {
- r = Random();
- tile = r % MapSize();
-// TILE_MASK seems to be not working correctly. Radio masts accumulate in one area.
-// tile = TILE_MASK(r);
+ tile = RandomTile();
if (IsTileType(tile, MP_CLEAR) && GetTileSlope(tile, &h) == 0 && h >= 32) {
if(!checkRadioTowerNearby(tile))
continue;