oops
[carveJwlIkooP6JGAAIwe30JlM.git] / menu.h
diff --git a/menu.h b/menu.h
index 59c01f61a0b7ec7423db6232c48e6fd9ff95a604..71b3570d06190c70a133d386719f92369267be5d 100644 (file)
--- a/menu.h
+++ b/menu.h
@@ -9,6 +9,7 @@
 #include "audio.h"
 #include "input.h"
 #include "workshop.h"
+#include "respawn.h"
 
 #define MENU_STACK_SIZE 8
 
@@ -210,16 +211,25 @@ static void menu_trigger_item( ent_menuitem *item )
       if( MDL_CONST_PSTREQ( &menu.model, q, "quit" ) ){
          vg.window_should_close = 1;
       }
+
+      /* DEPRECATED? */
       else if( MDL_CONST_PSTREQ( &menu.model, q, "reset_nearest" ) ){
          localplayer_cmd_respawn( 0, NULL );
          menu_close();
       }
+      /* DEPRECATED? */
       else if( MDL_CONST_PSTREQ( &menu.model, q, "reset_home" ) ){
          world_set_active_instance( 0 );
          localplayer.viewable_world = world_current_instance();
          localplayer_cmd_respawn( 1, (const char *[]){"start"} );
          menu_close();
       }
+
+      else if( MDL_CONST_PSTREQ( &menu.model, q, "reset" ) ){
+         menu_close();
+         respawn_begin_chooser();
+      }
+
       else if( MDL_CONST_PSTREQ( &menu.model, q, "credits" ) ){
          menu.credits_open = 1;
       }