1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-10 23:29:43 +00:00

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

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

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));