mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-07 04:19:02 +00:00
fixed Fieldquotient Prairie
This commit is contained in:
@@ -342,6 +342,7 @@ struct fpattern {
|
||||
vector<char> disthex;
|
||||
|
||||
vector<char> distwall, distriver, distwall2, distriverleft, distriverright, distflower;
|
||||
int distflower0;
|
||||
|
||||
vector<eItem> markers;
|
||||
|
||||
@@ -536,6 +537,12 @@ struct fpattern {
|
||||
int riverdist = dijkstra(nontruncated ? distflower : distriver, indist);
|
||||
DEBB(DF_FIELD, (debugfile, "river dist = %d\n", riverdist));
|
||||
|
||||
for(int i=0; i<size(currfp.matrices); i++)
|
||||
if(currfp.distflower[i] == 0) {
|
||||
distflower0 = currfp.inverses[i]+1;
|
||||
break;
|
||||
}
|
||||
|
||||
if(!nontruncated) {
|
||||
W = matrices[riverid];
|
||||
for(int i=0; i<wallorder; i++) {
|
||||
|
||||
Reference in New Issue
Block a user