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:
parent
34eaaf2842
commit
f10ce182cb
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user