mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-18 19:24:48 +00:00
opening inventory mode when you can just shoot should be fixed
This commit is contained in:
parent
60980bcb8b
commit
e33f26d51f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user