mirror of https://github.com/OpenTTD/OpenTTD
(svn r10228) -Fix [FS#894]: why MSVC must always bitch about stuff?
parent
b2bd361dae
commit
aec52c4ebd
|
@ -116,7 +116,7 @@ static int TerraformProc(TerraformerState *ts, TileIndex tile, int mode)
|
||||||
* basement and then you raise/lower the other corner. */
|
* basement and then you raise/lower the other corner. */
|
||||||
tileh = GetTileSlope(tile, &z);
|
tileh = GetTileSlope(tile, &z);
|
||||||
if (tileh == unsafe_slope[mode] ||
|
if (tileh == unsafe_slope[mode] ||
|
||||||
tileh == SLOPE_STEEP | ComplementSlope(unsafe_slope[mode])) {
|
tileh == (SLOPE_STEEP | ComplementSlope(unsafe_slope[mode]))) {
|
||||||
_terraform_err_tile = tile;
|
_terraform_err_tile = tile;
|
||||||
_error_message = STR_1008_MUST_REMOVE_RAILROAD_TRACK;
|
_error_message = STR_1008_MUST_REMOVE_RAILROAD_TRACK;
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue