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
1 changed files with 1 additions and 1 deletions

View File

@ -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);