diff --git a/bigstuff.cpp b/bigstuff.cpp index 104033a3..af177525 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -538,9 +538,10 @@ void buildEquidistant(cell *c) { } if(c->land == laEndorian) { + int ct = c->type; if(c->landparam == 1 && ctof(c)) { - for(int i=0; itype; if(c->move(i) && c->move(i)->land != laEndorian && c->move(i)->land != laNone) if(c->move(i1) && c->move(i1)->land != laEndorian && c->move(i1)->land != laNone) { c->landflags = 2; @@ -549,11 +550,12 @@ void buildEquidistant(cell *c) { } } else if(c->landparam == 1 && !ctof(c)) { - for(int i=0; itype; + for(int i=0; imove(i) && c->move(i)->land == laBarrier && c->move(i)->type == 7) if(c->move(i1) && c->move(i1)->land != laBarrier) if(c->move(i2) && c->move(i2)->land != laBarrier)