1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

crossbow:: do not try shooting on stay

This commit is contained in:
Zeno Rogue 2023-10-27 23:27:46 +02:00
parent ddc7cddb91
commit a012e6103a

View File

@ -332,7 +332,7 @@ bool pcmove::movepcto() {
changes.rollback(); changes.rollback();
if(!checkonly) flipplayer = false; if(!checkonly) flipplayer = false;
if(!b && items[itCrossbow] == 0 && bow::crossbow_mode() && !bow::fire_mode) { if(!b && items[itCrossbow] == 0 && bow::crossbow_mode() && !bow::fire_mode && d >= 0) {
changes.init(checkonly); changes.init(checkonly);
changes.value_keep(bow::last_bowpath); changes.value_keep(bow::last_bowpath);
b = try_shooting(true); b = try_shooting(true);