Fix an issue with the help buttons for talking and shops not producing anything if you'd seen them once before
This commit is contained in:
@@ -649,9 +649,7 @@ static void give_help(short help1,short help2,cDialog* parent) {
|
|||||||
help_forced = true;
|
help_forced = true;
|
||||||
help1 -= 200;
|
help1 -= 200;
|
||||||
}
|
}
|
||||||
if(!get_bool_pref("ShowInstantHelp", true) && !help_forced)
|
if(!help_forced && (!get_bool_pref("ShowInstantHelp", true) || get_iarray_pref_contains("ReceivedHelp", help1)))
|
||||||
return;
|
|
||||||
if(get_iarray_pref_contains("ReceivedHelp", help1))
|
|
||||||
return;
|
return;
|
||||||
append_iarray_pref("ReceivedHelp", help1);
|
append_iarray_pref("ReceivedHelp", help1);
|
||||||
append_iarray_pref("ReceivedHelp", help2);
|
append_iarray_pref("ReceivedHelp", help2);
|
||||||
|
Reference in New Issue
Block a user