Skip to content

Commit

Permalink
UI: Disable team orders menu for now
Browse files Browse the repository at this point in the history
We are disabling the Team Orders menu for now until the bugs are fixed. We are saving this task for a future release.
See #43 and #160
  • Loading branch information
kai-li-wop committed Nov 6, 2024
1 parent 86e2b3d commit b615a2f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion code/ui/ui_controls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1632,7 +1632,7 @@ static void Controls_MenuInit(void) {
Menu_AddItem(&s_controls.menu, &s_controls.chat4);
Menu_AddItem(&s_controls.menu, &s_controls.pushToTalk);
Menu_AddItem(&s_controls.menu, &s_controls.gesture);
Menu_AddItem(&s_controls.menu, &s_controls.teamorders);
// Menu_AddItem(&s_controls.menu, &s_controls.teamorders);

Menu_AddItem(&s_controls.menu, &s_controls.showscores);
Menu_AddItem(&s_controls.menu, &s_controls.togglemenu);
Expand Down
6 changes: 3 additions & 3 deletions code/ui/ui_ingame.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ static void InGame_MenuInit(void) {
s_ingame.removebots.generic.flags |= QMF_GRAYED;
}

y += INGAME_MENU_VERTICAL_SPACING;
/* y += INGAME_MENU_VERTICAL_SPACING;
s_ingame.teamorders.generic.type = MTYPE_TEXTS;
s_ingame.teamorders.fontHeight = 20.0f;
s_ingame.teamorders.generic.flags = QMF_CENTER_JUSTIFY;
Expand All @@ -280,7 +280,7 @@ static void InGame_MenuInit(void) {
s_ingame.teamorders.generic.flags |= QMF_GRAYED;
}
}

*/
y += INGAME_MENU_VERTICAL_SPACING;
s_ingame.voiceingame.generic.type = MTYPE_TEXTS;
s_ingame.voiceingame.fontHeight = 20.0f;
Expand Down Expand Up @@ -436,7 +436,7 @@ static void InGame_MenuInit(void) {
Menu_AddItem(&s_ingame.menu, &s_ingame.team);
Menu_AddItem(&s_ingame.menu, &s_ingame.addbots);
Menu_AddItem(&s_ingame.menu, &s_ingame.removebots);
Menu_AddItem(&s_ingame.menu, &s_ingame.teamorders);
// Menu_AddItem(&s_ingame.menu, &s_ingame.teamorders);
Menu_AddItem(&s_ingame.menu, &s_ingame.voiceingame);
Menu_AddItem(&s_ingame.menu, &s_ingame.callvote);
Menu_AddItem(&s_ingame.menu, &s_ingame.setup);
Expand Down
2 changes: 2 additions & 0 deletions code/ui/ui_teamorders.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ UI_TeamOrdersMenu
===============
*/
void UI_TeamOrdersMenu(void) {
return; // disabled for now until issues with bo chat are fixed

trap_Cvar_Set("cl_paused", "1"); // pause game and indirectly pause/stop background music

UI_TeamOrdersMenu_Init();
Expand Down

0 comments on commit b615a2f

Please sign in to comment.