mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-24 16:09:30 +00:00
(svn r4547) Revert a part of r4541 to silence an assertion for now
This commit is contained in:
parent
14b6860e62
commit
bbcdbb830b
@ -504,7 +504,7 @@ no_slope:
|
|||||||
res = DoCommand(tile, slope, 0, DC_EXEC | DC_AUTO | DC_NO_WATER,
|
res = DoCommand(tile, slope, 0, DC_EXEC | DC_AUTO | DC_NO_WATER,
|
||||||
CMD_TERRAFORM_LAND);
|
CMD_TERRAFORM_LAND);
|
||||||
} else {
|
} else {
|
||||||
res = DoCommand(tile, ComplementSlope(slope), 1, DC_EXEC | DC_AUTO | DC_NO_WATER,
|
res = DoCommand(tile, slope ^ 0xF, 1, DC_EXEC | DC_AUTO | DC_NO_WATER,
|
||||||
CMD_TERRAFORM_LAND);
|
CMD_TERRAFORM_LAND);
|
||||||
}
|
}
|
||||||
if (CmdFailed(res) && CHANCE16I(1, 3, r)) {
|
if (CmdFailed(res) && CHANCE16I(1, 3, r)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user