mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-18 11:14:49 +00:00
fixed fielval_uniq for 3d geometries
This commit is contained in:
parent
af0435e209
commit
38559b304b
@ -369,6 +369,7 @@ int fieldval_uniq(cell *c) {
|
|||||||
}
|
}
|
||||||
else if(binarytiling || archimedean) return 0;
|
else if(binarytiling || archimedean) return 0;
|
||||||
else if(&currfp == &fp_invalid) return 0;
|
else if(&currfp == &fp_invalid) return 0;
|
||||||
|
else if(DIM == 3) return c->master->fieldval;
|
||||||
else if(ctof(c) || NONSTDVAR) return c->master->fieldval/S7;
|
else if(ctof(c) || NONSTDVAR) return c->master->fieldval/S7;
|
||||||
else {
|
else {
|
||||||
int z = 0;
|
int z = 0;
|
||||||
|
2
reg3.cpp
2
reg3.cpp
@ -670,7 +670,7 @@ namespace reg3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(DEB) println(hlog, "-> not found");
|
if(DEB) println(hlog, "-> not found");
|
||||||
int d2 = 0, fv = 0;
|
int d2 = 0, fv = isize(reg_gmatrix);
|
||||||
#if CAP_FIELD
|
#if CAP_FIELD
|
||||||
if(hyperbolic) {
|
if(hyperbolic) {
|
||||||
auto cp = counterpart(parent);
|
auto cp = counterpart(parent);
|
||||||
|
Loading…
Reference in New Issue
Block a user