mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 17:37:39 +00:00
remove crossbow paths on orb use
This commit is contained in:
2
orbs.cpp
2
orbs.cpp
@@ -597,6 +597,7 @@ EX bool haveRangedTarget() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void checkmoveO() {
|
void checkmoveO() {
|
||||||
|
bow::bowpath_map.clear();
|
||||||
if(multi::players > 1 && multi::activePlayers() == 1)
|
if(multi::players > 1 && multi::activePlayers() == 1)
|
||||||
multi::checklastmove();
|
multi::checklastmove();
|
||||||
if(multi::players == 1) checkmove();
|
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);
|
if(from) movecost(from, dest, 2);
|
||||||
|
|
||||||
createNoise(1);
|
createNoise(1);
|
||||||
|
bow::bowpath_map.clear();
|
||||||
|
|
||||||
if(shmup::on)
|
if(shmup::on)
|
||||||
shmup::teleported();
|
shmup::teleported();
|
||||||
|
Reference in New Issue
Block a user