mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
fixed odd stripes of CR4 in the Graveyard
This commit is contained in:
parent
166061beb3
commit
cf6d2a36c4
@ -376,11 +376,13 @@ cell *buildAnotherEquidistant(cell *c, int radius) {
|
|||||||
// prevent gravity anomalies
|
// prevent gravity anomalies
|
||||||
if(c2->land != c->land) return NULL;
|
if(c2->land != c->land) return NULL;
|
||||||
|
|
||||||
|
bool oc = c->land == laOcean;
|
||||||
|
|
||||||
// else if(ctof(c) && hrand(10000) < 20 && !isCrossroads(c->land) && gold() >= 200)
|
// else if(ctof(c) && hrand(10000) < 20 && !isCrossroads(c->land) && gold() >= 200)
|
||||||
if(weirdhyperbolic && specialland == laCrossroads4 && buildBarrierNowall(c2, getNewLand(laOcean))) {
|
if(oc && weirdhyperbolic && specialland == laCrossroads4 && buildBarrierNowall(c2, getNewLand(laOcean))) {
|
||||||
nowall = true;
|
nowall = true;
|
||||||
}
|
}
|
||||||
else if(pseudohept(c2) && gold() >= R200 && hrand(10) < 2 && buildBarrierNowall(c2, laCrossroads4, 1)) {
|
else if(oc && pseudohept(c2) && gold() >= R200 && hrand(10) < 2 && buildBarrierNowall(c2, laCrossroads4)) {
|
||||||
nowall = true;
|
nowall = true;
|
||||||
// raiseBuggyGeneration(c2, "check");
|
// raiseBuggyGeneration(c2, "check");
|
||||||
// return;
|
// return;
|
||||||
|
Loading…
Reference in New Issue
Block a user