author | celestar |
Thu, 30 Mar 2006 12:00:35 +0000 | |
changeset 3374 | 9721c51bea25 |
parent 3373 | f95cf3549591 |
child 3375 | 7fea43d72298 |
station_cmd.c | file | annotate | diff | comparison | revisions |
--- a/station_cmd.c Thu Mar 30 11:21:36 2006 +0000 +++ b/station_cmd.c Thu Mar 30 12:00:35 2006 +0000 @@ -1684,12 +1684,7 @@ SET_EXPENSES_TYPE(EXPENSES_CONSTRUCTION); - if (!IsTileType(tile, MP_WATER) || - _m[tile].m5 != 0 || - GetTileSlope(tile, NULL) != 0 || - tile == 0) { - return_cmd_error(STR_304B_SITE_UNSUITABLE); - } + if (!IsClearWaterTile(tile) || tile == 0) return_cmd_error(STR_304B_SITE_UNSUITABLE); st = AllocateStation(); if (st == NULL) return CMD_ERROR;