mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 10:17:56 +00:00
crossbow:: checkmate rule
This commit is contained in:
@@ -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