1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00

Fix discontinuity in notDippingForExtra

This commit is contained in:
Jesse Ruderman 2021-08-02 22:37:23 -07:00
parent b67b946126
commit ddd4f81b97

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