Merge pull request #279 from jruderman/ndfe

Fix discontinuity in notDippingForExtra
This commit is contained in:
Zeno Rogue 2021-08-04 19:09:58 +02:00 committed by GitHub
commit 965b40cf11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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