changeset 3374 | 9721c51bea25 |
parent 3362 | 5fc13da0a8fd |
child 3418 | a592d40a4d04 |
--- 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;