From 6a26229ab68220decc5027ba68ce64a8974c4613 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sun, 1 Dec 2024 18:52:09 -0600 Subject: [PATCH] only valid ingame beep use a sound --- src/game/boe.dlgutil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/boe.dlgutil.cpp b/src/game/boe.dlgutil.cpp index 07264294..556ffc66 100644 --- a/src/game/boe.dlgutil.cpp +++ b/src/game/boe.dlgutil.cpp @@ -783,7 +783,8 @@ void handle_talk_node(int which_talk_entry) { break; case TALK_RECORD: if(!can_save_talk) { - beep(); + // TODO the button shouldn't be shown if it won't work, no? + play_sound(1); return; } if(univ.party.save_talk(univ.town->talking.people[store_personality%10].title, univ.town->name, save_talk_str1, save_talk_str2)) {