1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 10:00:42 +00:00

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

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