diff --git a/Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp b/Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp index d539c14b74..db8a65cd59 100644 --- a/Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp +++ b/Generals/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp @@ -1228,8 +1228,8 @@ static void saveOptions( void ) //------------------------------------------------------------------------------------------------- // Set System Time Font Size - val = TheWritableGlobalData->m_systemTimeFontSize; // TheSuperHackers @todo replace with options input when applicable - if (val) + val = pref->getSystemTimeFontSize(); // TheSuperHackers @todo replace with options input when applicable + if (val >= 0) { AsciiString prefString; prefString.format("%d", val); @@ -1239,8 +1239,8 @@ static void saveOptions( void ) //------------------------------------------------------------------------------------------------- // Set Game Time Font Size - val = TheWritableGlobalData->m_gameTimeFontSize; // TheSuperHackers @todo replace with options input when applicable - if (val) + val = pref->getGameTimeFontSize(); // TheSuperHackers @todo replace with options input when applicable + if (val >= 0) { AsciiString prefString; prefString.format("%d", val); diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp index 9d78c39789..587a261bfc 100644 --- a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp +++ b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp @@ -1288,8 +1288,8 @@ static void saveOptions( void ) //------------------------------------------------------------------------------------------------- // Set System Time Font Size - val = TheWritableGlobalData->m_systemTimeFontSize; // TheSuperHackers @todo replace with options input when applicable - if (val) + val = pref->getSystemTimeFontSize(); // TheSuperHackers @todo replace with options input when applicable + if (val >= 0) { AsciiString prefString; prefString.format("%d", val); @@ -1299,8 +1299,8 @@ static void saveOptions( void ) //------------------------------------------------------------------------------------------------- // Set Game Time Font Size - val = TheWritableGlobalData->m_gameTimeFontSize; // TheSuperHackers @todo replace with options input when applicable - if (val) + val = pref->getGameTimeFontSize(); // TheSuperHackers @todo replace with options input when applicable + if (val >= 0) { AsciiString prefString; prefString.format("%d", val);