1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 05:57:37 +00:00

3d:: reg3:: distances and alt-distances

This commit is contained in:
Zeno Rogue
2019-03-09 01:00:46 +01:00
parent 6d72bd820b
commit 497f7f6c0f
5 changed files with 88 additions and 15 deletions

View File

@@ -1513,7 +1513,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
case laCaribbean:
if(fargen) {
if(!eubinary) {
if(c->master->alt && c->master->alt->distance <= 2) {
if(c->master->alt && masterAlt(c) <= 2) {
if(!eubinary) currentmap->generateAlts(c->master);
preventbarriers(c);
int d = celldistAlt(c);