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) {