From 2e2eb4e212596bc6af1a346bcfba9660fc0ccc41 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 2 Jan 2020 16:56:13 +0100 Subject: [PATCH] clearing:: reptilecheat now disables fruits and Foxes --- landgen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/landgen.cpp b/landgen.cpp index 99730ec5..e9fcd5aa 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2193,9 +2193,9 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { clearing::generate(c); if(pseudohept(c)) { int d = -celldistAlt(c); - if(hrand_monster(2500) < items[itMutant2] + yendor::hardness() - 10) + if(hrand_monster(2500) < items[itMutant2] + yendor::hardness() - 10 && !reptilecheat) c->monst = moRedFox; - else if(hrand(100 + d) < d) + else if(hrand(100 + d) < d && !reptilecheat) c->item = itMutant2; } }