mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-19 23:25:13 +00:00
shmup:: fixed the bug with Phasing deleting monsters
This commit is contained in:
2
orbs.cpp
2
orbs.cpp
@@ -1557,8 +1557,8 @@ EX eItem targetRangedOrb(cell *c, orbAction a) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(items[itOrbPhasing] && CHK(c->cpdist == 2, XLAT("Cannot phase that far!"))) {
|
if(items[itOrbPhasing] && CHK(c->cpdist == 2, XLAT("Cannot phase that far!"))) {
|
||||||
changes.init(isCheck(a));
|
|
||||||
if(shmup::on) shmup::pushmonsters();
|
if(shmup::on) shmup::pushmonsters();
|
||||||
|
changes.init(isCheck(a));
|
||||||
int phasestate = check_phase(cwt.at, c, P_ISPLAYER, jdata);
|
int phasestate = check_phase(cwt.at, c, P_ISPLAYER, jdata);
|
||||||
if(phasestate == 1 && c->monst) {
|
if(phasestate == 1 && c->monst) {
|
||||||
orb_error_messages.push_back(XLAT("Cannot phase onto %the1!", c->monst));
|
orb_error_messages.push_back(XLAT("Cannot phase onto %the1!", c->monst));
|
||||||
|
|||||||
Reference in New Issue
Block a user