1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-13 21:47:38 +00:00

shmup:: no more orb usage after death

This commit is contained in:
Zeno Rogue
2019-09-27 17:06:12 +02:00
parent f45b90bad4
commit 85504de44b
2 changed files with 3 additions and 3 deletions

View File

@@ -743,13 +743,13 @@ void movePlayer(monster *m, int delta) {
}
#endif
if(actionspressed[b+pcOrbPower] && !lactionpressed[b+pcOrbPower] && mouseover) {
if(actionspressed[b+pcOrbPower] && !lactionpressed[b+pcOrbPower] && mouseover && !m->dead) {
cwt.at = m->base;
targetRangedOrb(mouseover, roKeyboard);
}
#if !ISMOBILE
if(haveRangedOrb()) {
if(haveRangedOrb() && !m->dead) {
cwt.at = m->base;
if(actionspressed[b+pcOrbKey] && !lactionpressed[b+pcOrbKey])
keyresult[cpid] = targetRangedOrbKey(roKeyboard);