From 1ea98b19d532d50784ebdf54da20535d04b4400e Mon Sep 17 00:00:00 2001 From: Goober5000 Date: Sun, 16 Aug 2026 15:10:35 -0400 Subject: [PATCH] tiny tweak fix to the comm menu Reset the selected item when we open a new menu. This keeps the display state and internal state in sync if the player mixes arrow presses and number presses. Follow-up to #7688. --- code/hud/hudsquadmsg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/hud/hudsquadmsg.cpp b/code/hud/hudsquadmsg.cpp index 20956c15a55..57a33fa5216 100644 --- a/code/hud/hudsquadmsg.cpp +++ b/code/hud/hudsquadmsg.cpp @@ -461,6 +461,7 @@ void hud_squadmsg_do_mode( int mode ) MsgItems.clear(); Rebuild_MsgItems = true; First_menu_item = 0; + Selected_menu_item = 0; // keep offset consistent with the reset page across submenu transitions } void hud_squadmsg_page_down()