mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-05 11:57:58 +00:00
crossbow:: no time passes when shooting while unstable
This commit is contained in:
@@ -265,6 +265,15 @@ bool pcmove::try_shooting(bool auto_target) {
|
||||
if(gravity_state) markOrb(itOrbGravity);
|
||||
}
|
||||
lastmovetype = lmAttack; lastmove = NULL;
|
||||
|
||||
if(cellEdgeUnstable(cwt.at) || cwt.at->land == laWhirlpool) {
|
||||
if(checkonly) return true;
|
||||
if(changes.on) changes.commit();
|
||||
addMessage(XLAT("(shooting while unstable -- no turn passes)"));
|
||||
checkmove();
|
||||
return true;
|
||||
}
|
||||
|
||||
if(checkNeedMove(checkonly, false))
|
||||
return false;
|
||||
swordAttackStatic();
|
||||
|
Reference in New Issue
Block a user