mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-09 12:16:45 +00:00
fieldpattern:: removed currfp. in analyze which could cause a loop
This commit is contained in:
parent
5d81260f0b
commit
df2180cf67
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user