equal
deleted
inserted
replaced
704 |
704 |
705 if (CHANCE16I(1, 16, r)) { |
705 if (CHANCE16I(1, 16, r)) { |
706 res = DoCommand(tile, slope, 0, DC_EXEC | DC_AUTO | DC_NO_WATER, |
706 res = DoCommand(tile, slope, 0, DC_EXEC | DC_AUTO | DC_NO_WATER, |
707 CMD_TERRAFORM_LAND); |
707 CMD_TERRAFORM_LAND); |
708 } else { |
708 } else { |
|
709 /* Note: Do not replace " ^ 0xF" with ComplementSlope(). The slope might be steep. */ |
709 res = DoCommand(tile, slope ^ 0xF, 1, DC_EXEC | DC_AUTO | DC_NO_WATER, |
710 res = DoCommand(tile, slope ^ 0xF, 1, DC_EXEC | DC_AUTO | DC_NO_WATER, |
710 CMD_TERRAFORM_LAND); |
711 CMD_TERRAFORM_LAND); |
711 } |
712 } |
712 if (CmdFailed(res) && CHANCE16I(1, 3, r)) { |
713 if (CmdFailed(res) && CHANCE16I(1, 3, r)) { |
713 /* We can consider building on the slope, though. */ |
714 /* We can consider building on the slope, though. */ |