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:
parent
c5f1eb27c0
commit
fbd978598e
@ -1111,7 +1111,7 @@ EX struct fpattern& getcurrfp() {
|
|||||||
fp.Prime = 7; fp.force_hash = 0x9FDE7B38u; fp.solve();
|
fp.Prime = 7; fp.force_hash = 0x9FDE7B38u; fp.solve();
|
||||||
return fp;
|
return fp;
|
||||||
}
|
}
|
||||||
if(WDIM == 3) {
|
if(WDIM == 3 && !quotient) {
|
||||||
static fpattern fp(0);
|
static fpattern fp(0);
|
||||||
if(fp.Prime) return fp;
|
if(fp.Prime) return fp;
|
||||||
for(int p=2; p<8; p++) { fp.Prime = p; if(!fp.solve()) break; }
|
for(int p=2; p<8; p++) { fp.Prime = p; if(!fp.solve()) break; }
|
||||||
|
Loading…
Reference in New Issue
Block a user