mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
3d:: Caribbean no longer freezes in rhombic
This commit is contained in:
parent
53d5510697
commit
b17758c77f
@ -311,7 +311,7 @@ void generateTreasureIsland(cell *c) {
|
|||||||
if(c->wall != waCTree && hrand(100) < 15)
|
if(c->wall != waCTree && hrand(100) < 15)
|
||||||
c->wall = (c->wall == waCIsland ? waCIsland2 : waCIsland);
|
c->wall = (c->wall == waCIsland ? waCIsland2 : waCIsland);
|
||||||
}
|
}
|
||||||
if(src && c2->wall == waCTree && (eubinary||c->master->alt) && celldistAlt(c) <= -10) {
|
if(src && c2->wall == waCTree && (eubinary||c->master->alt) && celldistAlt(c) <= -10 && geometry != gRhombic3) {
|
||||||
bool end = true;
|
bool end = true;
|
||||||
for(int i=0; i<qc; i++) {
|
for(int i=0; i<qc; i++) {
|
||||||
generateTreasureIsland(ctab[i]);
|
generateTreasureIsland(ctab[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user