'u' for Use: print if can't right now

This commit is contained in:
2025-05-10 10:32:02 -05:00
parent 2828477e3f
commit 01add29af1

View File

@@ -2955,6 +2955,12 @@ bool handle_keystroke(const sf::Event& event, cFramerateLimiter& fps_limiter){
case 'u': // Use space
if(overall_mode == MODE_TOWN || overall_mode == MODE_USE_TOWN)
handle_use_space_select(need_reprint);
else if(is_combat())
ASB("Use: not in combat.");
else if(is_out())
ASB("Use: not outdoors");
else
ASB("Use: " + FINISH_FIRST);
break;
case 'b': // Bash door