mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
crossbow:: checkmate rule
This commit is contained in:
1 parent
4f82c3eb8e
commit
b0d117e646
3 files changed
+27
-1
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user