1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-01 23:40:15 +00:00

inforder basics

This commit is contained in:
Zeno Rogue
2019-10-10 13:08:06 +02:00
parent e799f76e5d
commit b5f6e6f3f5
10 changed files with 66 additions and 5 deletions

View File

@@ -397,7 +397,7 @@ EX int fieldval_uniq(cell *c) {
auto p = cell_to_pair(c);
return gmod(p.first * torusconfig::dx + p.second * torusconfig::dy, torusconfig::qty);
}
else if(binarytiling || archimedean || nil) return 0;
else if(binarytiling || archimedean || nil || S3 >= OINF) return 0;
else if(&currfp == &fp_invalid) return 0;
else if(WDIM == 3) return c->master->fieldval;
else if(ctof(c) || NONSTDVAR) return c->master->fieldval/S7;