From bdb3cb3df69f4be31610e46eb8f07be3eca8c90e Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Mon, 4 Sep 2017 14:37:26 -0400 Subject: [PATCH] Fix an issue with the help buttons for talking and shops not producing anything if you'd seen them once before --- src/game/boe.infodlg.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/game/boe.infodlg.cpp b/src/game/boe.infodlg.cpp index 0e2c949a..cc6f43d1 100644 --- a/src/game/boe.infodlg.cpp +++ b/src/game/boe.infodlg.cpp @@ -649,9 +649,7 @@ static void give_help(short help1,short help2,cDialog* parent) { help_forced = true; help1 -= 200; } - if(!get_bool_pref("ShowInstantHelp", true) && !help_forced) - return; - if(get_iarray_pref_contains("ReceivedHelp", help1)) + if(!help_forced && (!get_bool_pref("ShowInstantHelp", true) || get_iarray_pref_contains("ReceivedHelp", help1))) return; append_iarray_pref("ReceivedHelp", help1); append_iarray_pref("ReceivedHelp", help2);