From 83407fe2db83d624b3e4acdc78e7be03be713e6a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 12 Mar 2020 10:31:25 +0100 Subject: [PATCH] Frogs are not generated until you are in Frog Park or have treasure --- landgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 7ce2fe78..19f9d80f 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2657,7 +2657,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { if(d == 7) { if(c->wall == waNone) { - if(hrand_monster(2000) < 20 + (items[itFrog] + yendor::hardness())) + if(hrand_monster(2000) < ((cwt.at->land == laFrog || items[itFrog]) ? 20 : 0) + (items[itFrog] + yendor::hardness())) c->monst = pick(moFrog, moPhaser, moVaulter); } }