mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 18:54:48 +00:00
Merge pull request #279 from jruderman/ndfe
Fix discontinuity in notDippingForExtra
This commit is contained in:
commit
965b40cf11
@ -48,7 +48,7 @@ EX bool notDippingForExtra(eItem i, eItem x) {
|
|||||||
int v = items[i] - min(items[x], currentLocalTreasure);
|
int v = items[i] - min(items[x], currentLocalTreasure);
|
||||||
if(v <= 10) return true;
|
if(v <= 10) return true;
|
||||||
if(v >= 20) return false;
|
if(v >= 20) return false;
|
||||||
return v >= hrand(10) + 10;
|
return v < hrand(10) + 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
void buildRedWall(cell *c, int gemchance) {
|
void buildRedWall(cell *c, int gemchance) {
|
||||||
|
Loading…
Reference in New Issue
Block a user