1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 22:36:02 +00:00

shallow water graphics and mechanics

This commit is contained in:
Zeno Rogue
2020-02-26 01:15:30 +01:00
parent 87254a551e
commit 99e64d862d
9 changed files with 37 additions and 10 deletions

View File

@@ -386,7 +386,7 @@ bool sharkpassable(cell *w, cell *c) {
if(w == c || !c) return true;
if(nonAdjacent(w,c)) return false;
if(isPlayerOn(w)) return true;
if(!isWatery(w)) return false;
if(!isWatery(w) && w->wall != waShallow) return false;
if(sword::at(w, 0)) return false;
// don't go against the current