1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +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();
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.value_keep(bow::bowpath_map);
b = try_shooting(true);