From: Ingo Ruhnke Date: Sat, 24 Apr 2004 15:08:21 +0000 (+0000) Subject: - fixed option menu X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=49a682384943e8aed58015da8fbbddf528733a44;p=supertux.git - fixed option menu SVN-Revision: 684 --- diff --git a/src/menu.h b/src/menu.h index cd2023be8..44cd83f40 100644 --- a/src/menu.h +++ b/src/menu.h @@ -32,6 +32,7 @@ enum MainMenuIDs { MNID_STARTGAME, MNID_CONTRIB, + MNID_OPTIONMENU, MNID_LEVELEDITOR, MNID_CREDITS, MNID_QUITMAINMENU diff --git a/src/setup.cpp b/src/setup.cpp index 558b37ffa..9bbda987d 100644 --- a/src/setup.cpp +++ b/src/setup.cpp @@ -379,7 +379,7 @@ void st_menu(void) main_menu->set_pos(screen->w/2, 335); main_menu->additem(MN_GOTO, "Start Game",0,load_game_menu, MNID_STARTGAME); main_menu->additem(MN_GOTO, "Contrib Levels",0,contrib_menu, MNID_CONTRIB); - main_menu->additem(MN_GOTO, "Options",0,options_menu); + main_menu->additem(MN_GOTO, "Options",0,options_menu, MNID_OPTIONMENU); main_menu->additem(MN_ACTION,"Level editor",0,0, MNID_LEVELEDITOR); main_menu->additem(MN_ACTION,"Credits",0,0, MNID_CREDITS); main_menu->additem(MN_ACTION,"Quit",0,0, MNID_QUITMAINMENU);