mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-15 11:45:48 +00:00
fix buggy prairie
This commit is contained in:
parent
ceb47c843a
commit
3092062312
@ -1234,8 +1234,6 @@ void fpattern::findsubpath() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fpattern *fp43;
|
|
||||||
|
|
||||||
EX void info() {
|
EX void info() {
|
||||||
fpattern fp(0);
|
fpattern fp(0);
|
||||||
int cases = 0, hard = 0;
|
int cases = 0, hard = 0;
|
||||||
@ -1434,8 +1432,13 @@ EX struct fpattern& getcurrfp() {
|
|||||||
}
|
}
|
||||||
if(sphere || euclid) return fp_invalid;
|
if(sphere || euclid) return fp_invalid;
|
||||||
if(S7 == 7 && S3 == 3 && !bt::in()) {
|
if(S7 == 7 && S3 == 3 && !bt::in()) {
|
||||||
if(!fp43) fp43 = new fpattern(43);
|
if(PURE) {
|
||||||
return *fp43;
|
// we need another static because the prairie values have to be set differently in pure
|
||||||
|
static fpattern fp(43);
|
||||||
|
return fp;
|
||||||
|
}
|
||||||
|
static fpattern fp(43);
|
||||||
|
return fp;
|
||||||
}
|
}
|
||||||
return fp_invalid;
|
return fp_invalid;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user