1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

crossbow:: disable fire_mode on move

This commit is contained in:
Zeno Rogue 2023-10-27 23:27:59 +02:00
parent a012e6103a
commit 11869c796b

View File

@ -343,6 +343,7 @@ bool pcmove::movepcto() {
println(hlog, "error: not commited!");
changes.commit();
}
if(!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));