- fixed option menu
authorIngo Ruhnke <grumbel@gmx.de>
Sat, 24 Apr 2004 15:08:21 +0000 (15:08 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Sat, 24 Apr 2004 15:08:21 +0000 (15:08 +0000)
SVN-Revision: 684

src/menu.h
src/setup.cpp

index cd2023b..44cd83f 100644 (file)
@@ -32,6 +32,7 @@
 enum MainMenuIDs {
   MNID_STARTGAME,
   MNID_CONTRIB,
+  MNID_OPTIONMENU,
   MNID_LEVELEDITOR,
   MNID_CREDITS,
   MNID_QUITMAINMENU
index 558b37f..9bbda98 100644 (file)
@@ -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);