out_of_bounds cell

This commit is contained in:
Zeno Rogue
2021-06-17 09:44:48 +02:00
parent 2320619b86
commit 3a0b383b9b
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -2877,6 +2877,7 @@ EX hookset<bool(cell *c, int d, cell *from)> hooks_cellgen;
EX void setdist(cell *c, int d, cell *from) {
if(c == &out_of_bounds) return;
if(fake::in()) return FPIU(setdist(c, d, from));
if(c->mpdist <= d) return;