buffer messages for wrong-context L or b

This commit is contained in:
2025-03-21 10:48:23 -05:00
parent 00c0103616
commit 9ba0a9437f

View File

@@ -2875,11 +2875,23 @@ bool handle_keystroke(const sf::Event& event, cFramerateLimiter& fps_limiter){
case 'b': // Bash door case 'b': // Bash door
if(overall_mode == MODE_TOWN || overall_mode == MODE_BASH_TOWN) if(overall_mode == MODE_TOWN || overall_mode == MODE_BASH_TOWN)
handle_bash_pick_select(need_reprint, true); handle_bash_pick_select(need_reprint, true);
else if(is_combat())
ASB("Bash Door: not in combat.");
else if(is_out())
ASB("Bash Door: not outdoors");
else
ASB("Bash Door: " + FINISH_FIRST);
break; break;
case 'L': // Pick lock case 'L': // Pick lock
if(overall_mode == MODE_TOWN || overall_mode == MODE_PICK_TOWN) if(overall_mode == MODE_TOWN || overall_mode == MODE_PICK_TOWN)
handle_bash_pick_select(need_reprint, false); handle_bash_pick_select(need_reprint, false);
else if(is_combat())
ASB("Pick Lock: not in combat.");
else if(is_out())
ASB("Pick Lock: not outdoors");
else
ASB("Pick Lock: " + FINISH_FIRST);
break; break;
case 'A': // Alchemy case 'A': // Alchemy