X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=sidebyside;f=menu.h;h=3bbaf7c56ce1dcb859e20eab04a97b0a523c00cb;hb=330eda0436ed73d6c68214fef8922904abe19422;hp=8da5026898ad5c0bc693526f94b2c42164d0fb63;hpb=874c9d7e6ee2d826f9eb34518e8163283439c38e;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/menu.h b/menu.h index 8da5026..3bbaf7c 100644 --- a/menu.h +++ b/menu.h @@ -11,6 +11,7 @@ #include "workshop.h" #include "respawn.h" #include "gui.h" +#include "ent_miniworld.h" #define MENU_STACK_SIZE 8 @@ -246,8 +247,9 @@ static void menu_trigger_item( ent_menuitem *item ){ } else if( MDL_CONST_PSTREQ( &menu.model, q, "reset" ) ){ + srinput.state = k_input_state_resume; menu_close(); - respawn_begin_chooser(); + ent_miniworld_goback(); } else if( MDL_CONST_PSTREQ( &menu.model, q, "credits" ) ){