From 3e4fd1d1b8181dd1501e92deb21d8d3380b64360 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 24 Jan 2019 14:49:50 +0100 Subject: [PATCH] fixed Brown Islands crashing in Euclidean --- complex2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/complex2.cpp b/complex2.cpp index b8c21223..ff6b1401 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -98,11 +98,13 @@ namespace brownian { } void init(cell *c) { + if(!hyperbolic) return; recurse(c, FAT); recurse(c, FAT); } void init_further(cell *c) { + if(!hyperbolic) return; int dl = getDistLimit(); dynamicval be(generatingEquidistant, true); int gdir = -1; @@ -147,6 +149,8 @@ namespace brownian { } void build(cell *c, int d) { + + if(!hyperbolic) c->wall = waNone, c->landparam = 256; ONEMPTY { if(hrand(10000) < min(250, 100 + 2 * PT(kills[moAcidBird] + kills[moBrownBug], 50)) * (25 + min(items[itBrownian], 100)) / 25 && c->landparam >= 4 && c->landparam < 24)