mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Use "zoom" instead of "scale" for config.json setting
This commit is contained in:
parent
a66624f441
commit
2496e53985
@ -154,9 +154,9 @@ ReadConfig ()
|
|||||||
g_bFullScreen = 1;
|
g_bFullScreen = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(g_settingsOverload & SETTING_ZOOM) && j.find ("scale") != j.end ())
|
if (!(g_settingsOverload & SETTING_ZOOM) && j.find ("zoom") != j.end ())
|
||||||
{
|
{
|
||||||
g_windowScale = j["scale"].get<Uint8> ();
|
g_windowScale = j["zoom"].get<Uint8> ();
|
||||||
if (g_windowScale != 0)
|
if (g_windowScale != 0)
|
||||||
g_windowScale = 1;
|
g_windowScale = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user