fixed fire_mode not disabling correctly

This commit is contained in:
Zeno Rogue 2023-10-29 09:22:40 +01:00
parent 95dc72a582
commit 76c6195d19
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ bool pcmove::movepcto() {
println(hlog, "error: not commited!");
changes.commit();
}
if(!checkonly) bow::fire_mode = false;
if(b && !checkonly) bow::fire_mode = false;
if(!b) {
// bool try_instant = (forcedmovetype == fmInstant) || (forcedmovetype == fmSkip && !passable(c2, cwt.at, P_ISPLAYER | P_MIRROR | P_USEBOAT | P_FRIENDSWAP));