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
1 changed files with 1 additions and 0 deletions

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);
}