equal
deleted
inserted
replaced
258 extern const TrackBits _valid_tileh_slopes[2][15]; |
258 extern const TrackBits _valid_tileh_slopes[2][15]; |
259 if (GetTrackBits(tile) & ~_valid_tileh_slopes[0][r]) return_cmd_error(STR_1008_MUST_REMOVE_RAILROAD_TRACK); |
259 if (GetTrackBits(tile) & ~_valid_tileh_slopes[0][r]) return_cmd_error(STR_1008_MUST_REMOVE_RAILROAD_TRACK); |
260 } else return_cmd_error(STR_5800_OBJECT_IN_THE_WAY); |
260 } else return_cmd_error(STR_5800_OBJECT_IN_THE_WAY); |
261 } |
261 } |
262 |
262 |
263 if (direction == -1 && CheckTunnelInWay(tile, min)) return_cmd_error(STR_1002_EXCAVATION_WOULD_DAMAGE); |
263 if (direction == -1 && !CheckTunnelInWay(tile, min)) return_cmd_error(STR_1002_EXCAVATION_WOULD_DAMAGE); |
264 |
264 |
265 _terraform_err_tile = 0; |
265 _terraform_err_tile = 0; |
266 } |
266 } |
267 } |
267 } |
268 |
268 |