1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-07 22:49:54 +00:00

Trollheim does not generate adjacent non-unlocked troll lands

This commit is contained in:
Zeno Rogue 2024-02-22 18:59:08 +01:00
parent e343ed9c3f
commit 6d9f7e791b

View File

@ -607,7 +607,7 @@ EX eLand getNewLand(eLand old) {
if(isTrollLand(old)) LIKELY tab[cnt++] = laTrollheim;
if(old == laTrollheim) for(int i=0; i<landtypes; i++) {
eLand l2 = eLand(i);
if(isTrollLand(l2)) LIKELY tab[cnt++] = l2;
if(isTrollLand(l2) && landUnlocked(l2)) LIKELY tab[cnt++] = l2;
}
}