1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 23:10:26 +00:00

added is_boundary for &out_of_bounds just in case

This commit is contained in:
Zeno Rogue 2021-07-30 15:32:21 +02:00
parent 70702a8cd9
commit 3cabddeb65

View File

@ -1423,6 +1423,7 @@ EX int valence() {
/** portalspaces are not defined outside of a boundary */
EX bool is_boundary(cell *c) {
if(c == &out_of_bounds) return true;
return (cgflags & qPORTALSPACE) && isWall(c->wall);
}