X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=menu.h;h=ca7cec188289979a340f960bffe58bab16525cb6;hb=14267d2fb3d228060aef8e4de729254813ec245f;hp=cb823b4ea6208a0291142717bc0cfa3ac2900e1e;hpb=2dbc6f4022802b89c934ba78e7085cc7ee81799b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/menu.h b/menu.h index cb823b4..ca7cec1 100644 --- a/menu.h +++ b/menu.h @@ -9,7 +9,7 @@ #include "audio.h" #include "input.h" #include "workshop.h" -#include "respawn.h" +#include "world_map.h" #include "gui.h" #include "ent_miniworld.h" @@ -250,11 +250,9 @@ static void menu_trigger_item( ent_menuitem *item ){ if( MDL_CONST_PSTREQ( &menu.model, q, "quit" ) ){ vg.window_should_close = 1; } - else if( MDL_CONST_PSTREQ( &menu.model, q, "map" ) ){ - menu_close(); - respawn_begin_chooser(); + world_map_enter(); } else if( MDL_CONST_PSTREQ( &menu.model, q, "hub" ) ){ if( world_static.active_instance == k_world_purpose_client ){