mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-14 22:07:38 +00:00
out_of_bounds cell
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user