mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Check that the zoom (-z) is in the range
This commit is contained in:
parent
2ac9f735af
commit
f97d1c3644
@ -641,6 +641,8 @@ parseArgs (int argc, char * argv[], bool & exit)
|
||||
if (args["zoom"])
|
||||
{
|
||||
g_windowScale = args["zoom"];
|
||||
if (g_windowScale != 1 && g_windowScale != 2)
|
||||
g_windowScale = 1;
|
||||
g_settingsOverload |= SETTING_ZOOM;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user