Advertisement
Guest User

Untitled

a guest
Jan 1st, 2021
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1.             if (!_generating_world && Chance16(1, 10)) {
  2.                 bool chance = Chance16(1, 16);
  3.                 /* Note: Do not replace "^ SLOPE_ELEVATED" with ComplementSlope(). The slope might be steep. */
  4.                 res = DoCommand(tile, chance ? cur_slope : cur_slope ^ SLOPE_ELEVATED, !chance,
  5.                         DC_EXEC | DC_AUTO | DC_NO_WATER, CMD_TERRAFORM_LAND);
  6.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement