mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
fixed slime movement on nonorientable
This commit is contained in:
parent
920fc454f0
commit
20e44ef18c
@ -374,6 +374,8 @@ bool slimepassable(cell *w, cell *c) {
|
|||||||
int ogroup = slimegroup(w);
|
int ogroup = slimegroup(w);
|
||||||
if(!ogroup) return false;
|
if(!ogroup) return false;
|
||||||
bool hv = (group == ogroup);
|
bool hv = (group == ogroup);
|
||||||
|
if(nonorientable && isAlchAny(c) && isAlchAny(w))
|
||||||
|
hv = !anti_alchemy(c, w);
|
||||||
|
|
||||||
if(sword::at(w, 0)) return false;
|
if(sword::at(w, 0)) return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user