1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-07-05 11:12:49 +00:00

fixed Orb of Sword blocking strong wind

This commit is contained in:
Zeno Rogue 2025-06-22 23:21:16 +02:00
parent 34eaaf2842
commit f10ce182cb

View File

@ -170,7 +170,7 @@ EX namespace whirlwind {
auto mi = movei(c, dfrom[0]);
jdata.moves.push_back(mi.rev());
cell *c2 = c->move(dfrom[0]);
if(!passable(c, c2, P_JUMP1)) return NULL;
if(!passable(c, c2, P_JUMP1 | P_ISPLAYER)) return NULL;
if(player && i == 0 && !passable(c, c2, P_ISPLAYER)) return NULL;
c = c2;
}