SHARE
TWEET

Untitled

a guest Dec 25th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     while (tile_count < _height_map.size_x * _height_map.size_y * 2 / 3 && cur_height <= highest_height) {
  2.         for (int y = 0; y < _height_map.size_y; y++) {
  3.             for (int x = 0; x < _height_map.size_x; x++) {
  4.                 if (GetTileZ(TileXY(x, y)) == cur_height) tile_count++;
  5.             }
  6.         }
  7.         cur_height++;
  8.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top