mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed a crash in some horospherical tessellations
This commit is contained in:
parent
2588438052
commit
cad1bccd1a
@ -1156,24 +1156,24 @@ EX struct fpattern& getcurrfp() {
|
|||||||
DEBB(DF_FIELD, ("set prime = ", fp.Prime));
|
DEBB(DF_FIELD, ("set prime = ", fp.Prime));
|
||||||
return fp;
|
return fp;
|
||||||
}
|
}
|
||||||
if(S7 == 8 && S3 == 3) {
|
if(S7 == 8 && S3 == 3 && !bt::in()) {
|
||||||
static fpattern fp(17);
|
static fpattern fp(17);
|
||||||
return fp;
|
return fp;
|
||||||
}
|
}
|
||||||
if(S7 == 5 && S3 == 4) {
|
if(S7 == 5 && S3 == 4 && !bt::in()) {
|
||||||
static fpattern fp(11);
|
static fpattern fp(11);
|
||||||
return fp;
|
return fp;
|
||||||
}
|
}
|
||||||
if(S7 == 6 && S3 == 4) {
|
if(S7 == 6 && S3 == 4 && !bt::in()) {
|
||||||
static fpattern fp(13);
|
static fpattern fp(13);
|
||||||
return fp;
|
return fp;
|
||||||
}
|
}
|
||||||
if(S7 == 7 && S3 == 4) {
|
if(S7 == 7 && S3 == 4 && !bt::in()) {
|
||||||
static fpattern fp(13);
|
static fpattern fp(13);
|
||||||
return fp;
|
return fp;
|
||||||
}
|
}
|
||||||
if(sphere || euclid) return fp_invalid;
|
if(sphere || euclid) return fp_invalid;
|
||||||
if(S7 == 7 && S3 == 3)
|
if(S7 == 7 && S3 == 3 && !bt::in())
|
||||||
return fp43;
|
return fp43;
|
||||||
return fp_invalid;
|
return fp_invalid;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user