From c3f408a9b8671aa121258e8bf673e7da7e8a44ef Mon Sep 17 00:00:00 2001 From: avolkov Date: Fri, 4 Dec 2009 18:24:15 +0000 Subject: [PATCH] Restore arrow menu sounds after editing a control set name; bug #1066 git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3389 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/ChangeLog | 1 + sc2/src/uqm/setupmenu.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sc2/ChangeLog b/sc2/ChangeLog index 4e315e6e0..008a7dffb 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,5 @@ Changes towards version 0.7: +- Restore menu sounds after editing a control set name (bug #1066) - Alex - Added 'COLOR' resource type - SvdB - All graphics operations use 24-bits colors at the game level too now, instead of 16 bits colors. - SvdB diff --git a/sc2/src/uqm/setupmenu.c b/sc2/src/uqm/setupmenu.c index 24981bb00..2ec016b97 100644 --- a/sc2/src/uqm/setupmenu.c +++ b/sc2/src/uqm/setupmenu.c @@ -571,6 +571,7 @@ OnTextEntryEvent (WIDGET_TEXTENTRY *widget) (*(widget->onChange))(widget); } } + SetMenuSounds (MENU_SOUND_ARROWS, MENU_SOUND_SELECT); widget->state = WTE_NORMAL; redraw_menu ();