1
0
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:
Zeno Rogue 2022-04-26 15:43:43 +02:00
parent 920fc454f0
commit 20e44ef18c

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;