--- a/industry_cmd.c Mon Jan 31 11:03:23 2005 +0000
+++ b/industry_cmd.c Mon Jan 31 11:23:10 2005 +0000
@@ -978,7 +978,7 @@
int x = (i->width>>1) + Random() % 31 - 16;
int y = (i->height>>1) + Random() % 31 - 16;
tile = TileAddWrap(i->xy, x, y);
- if (tile != TILE_WRAPPED)
+ if (tile != INVALID_TILE)
PlantFarmField(tile);
}
}
@@ -1496,7 +1496,7 @@
int x = Random() % 31 - 16;
int y = Random() % 31 - 16;
uint new_tile = TileAddWrap(tile, x, y);
- if (new_tile != TILE_WRAPPED)
+ if (new_tile != INVALID_TILE)
PlantFarmField(new_tile);
}
}