From 2a092b96245a07eac0022f2bfca4cd0bba20bdee Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 29 Feb 2020 03:54:22 +0100 Subject: [PATCH] hrand >= 90 not > --- landgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index ddd18ad1..e01eaa10 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2625,7 +2625,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { eWall wetwalls[10] = {waNone, waNone, waDeepWater, waDeepWater, waDeepWater, waShallow, waShallow, waShallow, waStone, waStone}; c->wall = wetwalls[hrand(10)]; // wet::wetdata[windmap::getId(c)]]; if(among(c->wall, waDeepWater, waShallow) && hrand_monster(2000) < 2 * (items[itWet] + yendor::hardness() + 5)) - c->monst = hrand(100) > 90 ? moRusalka : moPike; + c->monst = hrand(100) >= 90 ? moRusalka : moPike; if(c->wall == waShallow && hrand(2000) < PT(100 + 2 * kills[moPike] + 3 * kills[moRusalka], 200) && notDippingFor(itWet)) c->item = itWet; }