mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-10 20:27:39 +00:00
options -W3 and -top
This commit is contained in:
@@ -607,13 +607,12 @@ bool buildBarrier4(cell *c, int d, int mode, eLand ll, eLand lr) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void buildBarrierStrong(cell *c, int d, bool oldleft) {
|
||||
void buildBarrierStrong(cell *c, int d, bool oldleft, eLand newland) {
|
||||
d %= 7;
|
||||
cellwalker bb(c, d);
|
||||
|
||||
c->bardir = d;
|
||||
eLand oldland = c->land;
|
||||
eLand newland = getNewLand(oldland);
|
||||
landcount[newland]++;
|
||||
|
||||
if(oldleft) c->barleft = oldland, c->barright = newland;
|
||||
@@ -621,6 +620,10 @@ void buildBarrierStrong(cell *c, int d, bool oldleft) {
|
||||
extendcheck(bb.c);
|
||||
}
|
||||
|
||||
void buildBarrierStrong(cell *c, int d, bool oldleft) {
|
||||
buildBarrierStrong(c, d, oldleft, getNewLand(c->land));
|
||||
}
|
||||
|
||||
void buildCrossroads2(cell *c) {
|
||||
|
||||
if(buggyGeneration) return;
|
||||
|
Reference in New Issue
Block a user