fieldpattern:: removed currfp. in analyze which could cause a loop

This commit is contained in:
Zeno Rogue 2021-12-12 00:28:48 +01:00
parent 5d81260f0b
commit df2180cf67
1 changed files with 3 additions and 3 deletions

View File

@ -1121,9 +1121,9 @@ void fpattern::analyze() {
int riverdist = dijkstra(PURE ? distflower : distriver, indist);
DEBB(DF_FIELD, ("river dist = %d\n", riverdist));
for(int i=0; i<isize(currfp.matrices); i++)
if(currfp.distflower[i] == 0) {
distflower0 = currfp.inverses[i]+1;
for(int i=0; i<isize(matrices); i++)
if(distflower[i] == 0) {
distflower0 = inverses[i]+1;
break;
}