From 88070e3bc2b42bfe58780a79e69cd220dedbd0ce Mon Sep 17 00:00:00 2001 From: pionere Date: Fri, 9 Aug 2024 10:08:44 +0200 Subject: [PATCH] disable md5-checker for the moment (patcher) --- tools/patcher/DiabloUI/mainmenu.cpp | 14 ++++++++------ tools/patcher/mainmenu.cpp | 2 ++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tools/patcher/DiabloUI/mainmenu.cpp b/tools/patcher/DiabloUI/mainmenu.cpp index 900e99eb00a..2dcb6b10864 100644 --- a/tools/patcher/DiabloUI/mainmenu.cpp +++ b/tools/patcher/DiabloUI/mainmenu.cpp @@ -24,12 +24,14 @@ static void MainmenuEsc() static void MainmenuLoad() { - int numOptions = 4; - - gUIListItems.push_back(new UiListItem("Patch Assets", 0)); - gUIListItems.push_back(new UiListItem("Merge Assets", 1)); - gUIListItems.push_back(new UiListItem("Check Assets", 2)); - gUIListItems.push_back(new UiListItem("Exit Patcher", 3)); + const int numOptions = 3; // 4; + int currOption = 0; + + gUIListItems.push_back(new UiListItem("Patch Assets", currOption++)); + gUIListItems.push_back(new UiListItem("Merge Assets", currOption++)); + // gUIListItems.push_back(new UiListItem("Check Assets", currOption++)); + gUIListItems.push_back(new UiListItem("Exit Patcher", currOption++)); + assert(numOptions == currOption); LoadBackgroundArt("ui_art\\mainmenu.CEL", "ui_art\\menu.pal"); diff --git a/tools/patcher/mainmenu.cpp b/tools/patcher/mainmenu.cpp index aafc0eae369..77ee6d76868 100644 --- a/tools/patcher/mainmenu.cpp +++ b/tools/patcher/mainmenu.cpp @@ -39,9 +39,11 @@ void mainmenu_loop() UiMergerDialog(); continue; case 2: +#if 0 UiCheckerDialog(); continue; case 3: +#endif break; default: ASSUME_UNREACHABLE