mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 10:44:48 +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);
|
||||
if(!ogroup) return false;
|
||||
bool hv = (group == ogroup);
|
||||
if(nonorientable && isAlchAny(c) && isAlchAny(w))
|
||||
hv = !anti_alchemy(c, w);
|
||||
|
||||
if(sword::at(w, 0)) return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user