mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-20 01:42:50 +00:00
sword reset
This commit is contained in:
parent
f10628e516
commit
05c3c538fa
5
game.cpp
5
game.cpp
@ -5347,8 +5347,7 @@ bool activateRecall() {
|
|||||||
playerMoveEffects(cwt.c, recallCell);
|
playerMoveEffects(cwt.c, recallCell);
|
||||||
mirror::destroyAll();
|
mirror::destroyAll();
|
||||||
|
|
||||||
items[itOrbSword] = 0;
|
sword::reset();
|
||||||
items[itOrbSword2] = 0;
|
|
||||||
|
|
||||||
cwt.c = recallCell; recallCell = NULL;
|
cwt.c = recallCell; recallCell = NULL;
|
||||||
cwt.spin = hrand(cwt.c->type); flipplayer = !!(hrand(2));
|
cwt.spin = hrand(cwt.c->type); flipplayer = !!(hrand(2));
|
||||||
@ -5525,7 +5524,7 @@ bool multiRevival(cell *on, cell *moveto) {
|
|||||||
if(multi::player[id].spin < 0) multi::player[id].spin = 0;
|
if(multi::player[id].spin < 0) multi::player[id].spin = 0;
|
||||||
multi::flipped[id] = true;
|
multi::flipped[id] = true;
|
||||||
multi::whereto[id].d = MD_UNDECIDED;
|
multi::whereto[id].d = MD_UNDECIDED;
|
||||||
items[itOrbSword] = items[itOrbSword2] = 0;
|
sword::reset();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user