mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 03:51:32 +00:00
Q1: Force unsetting the spectator when the player starts a singleplayer game (#198)
Fixes #142
This commit is contained in:
parent
512290f933
commit
97d650b8b3
1 changed files with 2 additions and 2 deletions
|
@ -518,7 +518,7 @@ void M_Menu_SinglePlayer_f (void)
|
|||
MC_AddCenterPicture(menu, 4, 24, "gfx/ttl_sgl.lmp");
|
||||
|
||||
menu->selecteditem = (menuoption_t*)
|
||||
MC_AddConsoleCommandQBigFont (menu, 72, 32, "New Game", "closemenu;disconnect;maxclients 1;samelevel \"\";deathmatch \"\";set_calc coop ($cl_splitscreen>0);startmap_sp\n");
|
||||
MC_AddConsoleCommandQBigFont (menu, 72, 32, "New Game", "closemenu;disconnect;maxclients 1;spectator \"\";samelevel \"\";deathmatch \"\";set_calc coop ($cl_splitscreen>0);startmap_sp\n");
|
||||
#ifdef SAVEDGAMES
|
||||
MC_AddConsoleCommandQBigFont (menu, 72, 52, "Load Game", "menu_load\n");
|
||||
MC_AddConsoleCommandQBigFont (menu, 72, 72, "Save Game", "menu_save\n");
|
||||
|
@ -551,7 +551,7 @@ void M_Menu_SinglePlayer_f (void)
|
|||
|
||||
MC_AddPicture(menu, 72, 32, 232, 64, "gfx/sp_menu.lmp");
|
||||
|
||||
b = MC_AddConsoleCommand (menu, 72, 304, 32, "", "closemenu;disconnect;maxclients 1;samelevel \"\";deathmatch \"\";set_calc coop ($cl_splitscreen>0);startmap_sp\n");
|
||||
b = MC_AddConsoleCommand (menu, 72, 304, 32, "", "closemenu;disconnect;maxclients 1;spectator \"\";samelevel \"\";deathmatch \"\";set_calc coop ($cl_splitscreen>0);startmap_sp\n");
|
||||
menu->selecteditem = (menuoption_t *)b;
|
||||
b->common.width = width;
|
||||
b->common.height = 20;
|
||||
|
|
Loading…
Reference in a new issue