crossbow:: checkmate rule

This commit is contained in:
Zeno Rogue
2023-10-28 09:51:27 +02:00
parent 4f82c3eb8e
commit b0d117e646
3 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ bool pcmove::movepcto() {
changes.rollback();
if(!checkonly) flipplayer = false;
if(!b && items[itCrossbow] == 0 && bow::crossbow_mode() && !bow::fire_mode && d >= 0) {
if(!b && items[itCrossbow] == 0 && bow::crossbow_mode() && !bow::fire_mode && d >= 0 && !checkonly) {
changes.init(checkonly);
changes.value_keep(bow::bowpath_map);
b = try_shooting(true);