remove crossbow paths on orb use

This commit is contained in:
Zeno Rogue 2023-12-12 21:39:09 +01:00
parent 517f4a833c
commit 61303fcab6
1 changed files with 2 additions and 0 deletions

View File

@ -597,6 +597,7 @@ EX bool haveRangedTarget() {
}
void checkmoveO() {
bow::bowpath_map.clear();
if(multi::players > 1 && multi::activePlayers() == 1)
multi::checklastmove();
if(multi::players == 1) checkmove();
@ -738,6 +739,7 @@ EX bool jumpTo(orbAction a, cell *dest, eItem byWhat, int bonuskill IS(0), eMons
if(from) movecost(from, dest, 2);
createNoise(1);
bow::bowpath_map.clear();
if(shmup::on)
shmup::teleported();