fixed slime movement on nonorientable

This commit is contained in:
Zeno Rogue 2022-04-26 15:43:43 +02:00
parent 920fc454f0
commit 20e44ef18c
1 changed files with 2 additions and 0 deletions

View File

@ -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;