1
0
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:
Mathieu Schroeter 2017-09-20 06:43:36 +02:00
parent a66624f441
commit 2496e53985

View File

@ -154,9 +154,9 @@ ReadConfig ()
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)
g_windowScale = 1;
}