From 3184ee16e1a7a8b599fcf3cf7413e64e31206d50 Mon Sep 17 00:00:00 2001 From: Lundar Date: Thu, 21 Jun 2018 03:09:01 -0400 Subject: [PATCH] cleanup mainmenu_action --- Source/mainmenu.cpp | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/Source/mainmenu.cpp b/Source/mainmenu.cpp index f8dc3c5..0174729 100644 --- a/Source/mainmenu.cpp +++ b/Source/mainmenu.cpp @@ -108,46 +108,6 @@ LABEL_6: void __fastcall mainmenu_action(int option) { -/* int v1; // eax - int a2; // [esp+0h] [ebp-4h] - - a2 = option; - mainmenu_refresh_music(); - do - { - while ( 1 ) - { - a2 = 0; - if ( !UiMainMenuDialog("Diablo v1.09", &a2, effects_play_sound, 30) ) - TermMsg("Unable to display mainmenu"); - if ( a2 == 1 ) - break; - switch ( a2 ) - { - case MAINMENU_MULTIPLAYER: - v1 = mainmenu_multi_player(); - goto LABEL_15; - case MAINMENU_REPLAY_INTRO: - goto LABEL_10; - case MAINMENU_SHOW_CREDITS: - UiCreditsDialog(16); - break; - case MAINMENU_EXIT_DIABLO: - goto LABEL_16; - case MAINMENU_ATTRACT_MODE: -LABEL_10: - if ( window_activated ) - mainmenu_play_intro(); - break; - } - } - v1 = mainmenu_single_player(); -LABEL_15: - ; - } - while ( v1 ); -LABEL_16: - music_stop();*/ int quit; // eax int a2; // [esp+0h] [ebp-4h]