From 4aa004e6409ac564c484e11396b0ffba0a3ec4af Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 3 Jun 2019 15:36:49 +0200 Subject: [PATCH] fixed generation of Turquoises on non-three-valent tilings --- landgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 2a07280e..c6e9ba32 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -1893,7 +1893,7 @@ void giantLandSwitch(cell *c, int d, cell *from) { if(t == 50) { c->item = itNone; break; } cell *dog1 = dogcells[hrand(isize(dogcells))]; cell *dog2 = dogcells[hrand(isize(dogcells))]; - if(isNeighbor(dog1, dog2)) { + if(VALENCE != 3 || isNeighbor(dog1, dog2)) { dog1->monst = moHunterGuard; dog1->landparam = 0; dog2->monst = moHunterGuard;