From ddd4f81b97d0e0a3ba15793783a6f9c1cf44b5cf Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Mon, 2 Aug 2021 22:37:23 -0700 Subject: [PATCH] Fix discontinuity in notDippingForExtra --- landgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 44679ed5..27a1ce64 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -48,7 +48,7 @@ EX bool notDippingForExtra(eItem i, eItem x) { int v = items[i] - min(items[x], currentLocalTreasure); if(v <= 10) return true; if(v >= 20) return false; - return v >= hrand(10) + 10; + return v < hrand(10) + 10; } void buildRedWall(cell *c, int gemchance) {