mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed a refactoring bug in Caribbean generation
This commit is contained in:
parent
1975069797
commit
bf83236863
@ -1181,7 +1181,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
break;
|
||||
|
||||
case laCaribbean:
|
||||
if(d == 9 && !euclid) {
|
||||
if(d == 9) {
|
||||
if(!euclid) {
|
||||
if(c->master->alt && c->master->alt->distance <= 2) {
|
||||
if(!euclid) generateAlts(c->master);
|
||||
preventbarriers(c);
|
||||
@ -1201,6 +1202,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
else
|
||||
c->wall = waSea;
|
||||
}
|
||||
}
|
||||
if(d == 8 && !euclid) {
|
||||
int mindist = 9;
|
||||
for(int i=0; i<c->type; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user