author | tron |
Mon, 14 Feb 2005 22:17:21 +0000 | |
changeset 1372 | 8f367e2c4aad |
parent 1371 | 76c98f1ff2bf |
child 1373 | f4d40df8c145 |
industry_cmd.c | file | annotate | diff | comparison | revisions |
--- a/industry_cmd.c Mon Feb 14 20:34:31 2005 +0000 +++ b/industry_cmd.c Mon Feb 14 22:17:21 2005 +0000 @@ -1192,7 +1192,7 @@ x = TileX(tile); y = TileY(tile); - if ( x < 15 || y < 15 || x > 238 || y > 238) + if (DistanceFromEdge(TILE_ADDXY(tile, 1, 1)) < 16) return true; _error_message = STR_483B_CAN_ONLY_BE_POSITIONED;