Skip to content

Commit 451460e

Browse files
committed
tweak(gamelod): Simplify game detail setup for options menu
1 parent 42bc6b0 commit 451460e

File tree

1 file changed

+1
-0
lines changed
  • GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus

1 file changed

+1
-0
lines changed

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,6 +1915,7 @@ void OptionsMenuInit( WindowLayout *layout, void *userData )
19151915
GadgetComboBoxAddEntry(comboBoxDetail, TheGameText->FETCH_OR_SUBSTITUTE("GUI:VeryHigh", L"Very High"), color);
19161916
GadgetComboBoxAddEntry(comboBoxDetail, TheGameText->fetch("GUI:Custom"), color);
19171917
static_assert(STATIC_GAME_LOD_COUNT == 5, "Wrong combo box count");
1918+
static_assert(STATIC_GAME_LOD_COUNT == 4, "Wrong combo box count");
19181919

19191920
//Check if level was never set and default to setting most suitable for system.
19201921
if (TheGameLODManager->getStaticLODLevel() == STATIC_GAME_LOD_UNKNOWN)

0 commit comments

Comments
 (0)