* Get the map height limit, or if set to "auto", the absolute limit. */
| 57 | * Get the map height limit, or if set to "auto", the absolute limit. |
| 58 | */ |
| 59 | static uint GetMapHeightLimit() |
| 60 | { |
| 61 | if (_settings_newgame.construction.map_height_limit == 0) return MAX_MAP_HEIGHT_LIMIT; |
| 62 | return _settings_newgame.construction.map_height_limit; |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * Changes landscape type and sets genworld window dirty |
no outgoing calls
no test coverage detected