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:
parent
ddc7cddb91
commit
a012e6103a
@ -332,7 +332,7 @@ bool pcmove::movepcto() {
|
||||
changes.rollback();
|
||||
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.value_keep(bow::last_bowpath);
|
||||
b = try_shooting(true);
|
||||
|
Loading…
Reference in New Issue
Block a user