Codechange: Turn ZoomLevel into enum class.

This commit is contained in:
frosch
2025-05-03 20:21:05 +02:00
committed by frosch
parent c0d4ab69d0
commit 8571af9833
39 changed files with 176 additions and 177 deletions

View File

@@ -760,7 +760,7 @@ int openttd_main(std::span<std::string_view> arguments)
InitializeSpriteSorter();
/* Initialize the zoom level of the screen to normal */
_screen.zoom = ZOOM_LVL_MIN;
_screen.zoom = ZoomLevel::Min;
/* The video driver is now selected, now initialise GUI zoom */
UpdateGUIZoom();