1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 03:54:47 +00:00

fixed rosebush/crystal world interaction

This commit is contained in:
Zeno Rogue 2024-05-10 19:10:44 +02:00
parent 542e2520c1
commit 6b0dd547bd

View File

@ -169,6 +169,7 @@ EX bool passable(cell *w, cell *from, flagtype flags) {
if(airdist(w) < 3) return false; if(airdist(w) < 3) return false;
if(againstWind(w,from)) return false; if(againstWind(w,from)) return false;
if(isGravityLand(w)) return false; if(isGravityLand(w)) return false;
if(w->wall == waChasm && w->land == laDual) return false;
} }
if(from && strictlyAgainstGravity(w, from, vrevdir, flags) if(from && strictlyAgainstGravity(w, from, vrevdir, flags)