We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53e0ad6 commit c2fc3ffCopy full SHA for c2fc3ff
1 file changed
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp
@@ -390,10 +390,8 @@ void ReplayMenuInit( WindowLayout *layout, void *userData )
390
#if ENABLE_GUI_HACKS
391
// TheSuperHackers @tweak Caball009 07/02/2025 Switch the column width for the time / date with the column width for the version.
392
ListboxData* list = static_cast<ListboxData*>(listboxReplayFiles->winGetUserData());
393
- DEBUG_ASSERTCRASH(list && list->columns >= 3 && list->columnWidth[1] < list->columnWidth[2],
394
- ("Original replay window is expected to have at least 3 columns, and the second column width smaller than the third"));
395
396
- if (list->columnWidth[1] < list->columnWidth[2])
+ if (list->columns == 4 && list->columnWidth[1] < list->columnWidth[2])
397
std::swap(list->columnWidth[1], list->columnWidth[2]);
398
#endif
399
0 commit comments