1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00

crossbow:: crossbow moves are no longer considered valid moves for the checkmate rule when the crossbow is not loaded

This commit is contained in:
Zeno Rogue 2023-10-29 08:19:40 +01:00
parent ed9081cfd5
commit b84e751d96

View File

@ -338,7 +338,7 @@ EX void checkmove() {
}
#endif
if(!canmove && bow::crossbow_mode()) canmove = bow::have_bow_target();
if(!canmove && bow::crossbow_mode() && !items[itCrossbow]) canmove = bow::have_bow_target();
if(!canmove) {
achievement_final(true);