opening inventory mode when you can just shoot should be fixed

This commit is contained in:
Zeno Rogue 2024-02-22 18:16:27 +01:00
parent 60980bcb8b
commit e33f26d51f
1 changed files with 2 additions and 2 deletions

View File

@ -418,6 +418,8 @@ EX void checkmove() {
for(int i=0; i<cwt.at->type; i++)
yasc_code += move_issues[i].type;
if(!canmove && bow::crossbow_mode() && !items[itCrossbow]) canmove = bow::have_bow_target();
#if CAP_INV
if(inv::on && !canmove && !inv::incheck) {
if(inv::remaining[itOrbSafety] || inv::remaining[itOrbFreedom])
@ -432,8 +434,6 @@ EX void checkmove() {
}
#endif
if(!canmove && bow::crossbow_mode() && !items[itCrossbow]) canmove = bow::have_bow_target();
if(!canmove) {
create_yasc_message();
achievement_final(true);