Fixed the bugs with computing fieldpattern not in hyperbolic geometry (memory error + canvas crashes)

This commit is contained in:
Zeno Rogue committed 2018-05-09 21:32:31 +02:00
1 parent 03db677d66
commit 39db828a38
5 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -1064,7 +1064,7 @@ void buildBigStuff(cell *c, cell *from) {
else if(c->land == laCrossroads2 && !nonbitrunc)
buildCrossroads2(c);
else if(c->land == laPrairie && c->LHU.fi.walldist == 0) {
else if(c->land == laPrairie && c->LHU.fi.walldist == 0 && !euclid) {
for(int bd=0; bd<7; bd++) {
int fval2 = createStep(c->master, bd)->fieldval;
int wd = currfp_gmul(fval2, currfp_inverses(c->fval-1));