mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-09 02:03:00 +00:00
fixed slime movement on nonorientable
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user