1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 11:57:58 +00:00

crossbow:: checkmate rule

This commit is contained in:
Zeno Rogue
2023-10-28 08:43:19 +02:00
parent 4f82c3eb8e
commit b0d117e646
3 changed files with 27 additions and 1 deletions

View File

@@ -338,6 +338,8 @@ EX void checkmove() {
}
#endif
if(!canmove && bow::crossbow_mode()) canmove = bow::have_bow_target();
if(!canmove) {
achievement_final(true);
if(cmode & sm::NORMAL) showMissionScreen();