1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-14 20:57:10 +00:00

shmup:: fixed the bug with Phasing deleting monsters

This commit is contained in:
Zeno Rogue
2025-10-09 22:57:43 +02:00
parent 7adc99e816
commit 4e6f34c936

View File

@@ -1557,8 +1557,8 @@ EX eItem targetRangedOrb(cell *c, orbAction a) {
}
if(items[itOrbPhasing] && CHK(c->cpdist == 2, XLAT("Cannot phase that far!"))) {
changes.init(isCheck(a));
if(shmup::on) shmup::pushmonsters();
changes.init(isCheck(a));
int phasestate = check_phase(cwt.at, c, P_ISPLAYER, jdata);
if(phasestate == 1 && c->monst) {
orb_error_messages.push_back(XLAT("Cannot phase onto %the1!", c->monst));