From b9a1ddbde9c9db492adb61589b010b623dcafab9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 16 Mar 2020 21:33:22 +0100 Subject: [PATCH] fixed Tortoises losing their colors --- landgen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/landgen.cpp b/landgen.cpp index 96caafba..8265213c 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -1794,6 +1794,8 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { if(hrand_monster(4000) < (peace::on ? 750 : 50 + items[itBabyTortoise]*2 + yendor::hardness() * 6) && !safety) { c->monst = moTortoise; c->hitpoints = 3; + auto val = tortoise::getb(c); + tortoise::emap[c] = val; } int chance = 50 + items[itBabyTortoise]*2;