1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

The bump_to_shoot flag now actually works

This commit is contained in:
Zeno Rogue 2024-01-07 12:52:11 +01:00
parent 7ad46d8e80
commit 31471fc6c5

View File

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