1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-21 18:23:15 +00:00

fixed a potential crash with Orb of the Frog / Orb of Phasing

This commit is contained in:
Zeno Rogue 2025-02-24 11:15:45 +01:00
parent f3e7c2ee70
commit 1a3f59c222

View File

@ -1261,7 +1261,7 @@ EX movei blowoff_destination(cell *c, int& di) {
}
EX int check_jump(cell *cf, cell *ct, flagtype flags, jumpdata& jdata) {
int partial = 1;
int partial = 1; jdata.uniq = false;
forCellCM(c2, cf) {
if(isNeighbor(c2, ct)) {
jdata.jumpthru = c2;
@ -1277,7 +1277,7 @@ EX int check_jump(cell *cf, cell *ct, flagtype flags, jumpdata& jdata) {
}
EX int check_phase(cell *cf, cell *ct, flagtype flags, jumpdata& jdata) {
int partial = 1;
int partial = 1; jdata.uniq = false;
forCellCM(c2, cf) {
if(isNeighbor(c2, ct) && !nonAdjacent(cf, c2) && !nonAdjacent(c2, ct)) {
jdata.jumpthru = c2;