mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-02-07 02:10:14 +00:00
currfp returns fp_invalid when fp is not known, and does not use it
This commit is contained in:
@@ -355,6 +355,7 @@ int fieldval_uniq(cell *c) {
|
||||
return gmod(p.first * torusconfig::dx + p.second * torusconfig::dy, torusconfig::qty);
|
||||
}
|
||||
else if(binarytiling || archimedean) return 0;
|
||||
else if(&currfp == &fp_invalid) return 0;
|
||||
else if(ctof(c) || NONSTDVAR) return c->master->fieldval/S7;
|
||||
else {
|
||||
int z = 0;
|
||||
|
||||
Reference in New Issue
Block a user