1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

getcurrfp returns fp_invalid for other quotient spaces

This commit is contained in:
Zeno Rogue 2020-01-18 17:16:16 +01:00
parent c5f1eb27c0
commit fbd978598e

View File

@ -1111,7 +1111,7 @@ EX struct fpattern& getcurrfp() {
fp.Prime = 7; fp.force_hash = 0x9FDE7B38u; fp.solve();
return fp;
}
if(WDIM == 3) {
if(WDIM == 3 && !quotient) {
static fpattern fp(0);
if(fp.Prime) return fp;
for(int p=2; p<8; p++) { fp.Prime = p; if(!fp.solve()) break; }