sword reset

This commit is contained in:
Zeno Rogue 2017-08-14 23:48:46 +02:00
parent f10628e516
commit 05c3c538fa
1 changed files with 3 additions and 4 deletions

View File

@ -5346,9 +5346,8 @@ bool activateRecall() {
movecost(cwt.c, recallCell);
playerMoveEffects(cwt.c, recallCell);
mirror::destroyAll();
items[itOrbSword] = 0;
items[itOrbSword2] = 0;
sword::reset();
cwt.c = recallCell; recallCell = NULL;
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;
multi::flipped[id] = true;
multi::whereto[id].d = MD_UNDECIDED;
items[itOrbSword] = items[itOrbSword2] = 0;
sword::reset();
return true;
}
return false;