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:
parent
7ad46d8e80
commit
31471fc6c5
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user