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:
parent
e343ed9c3f
commit
6d9f7e791b
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user