1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

fixed 'setland' warning in landgen

This commit is contained in:
Zeno Rogue 2017-11-03 22:20:00 +01:00
parent 8754d7d3be
commit bef3cb60c7

View File

@ -2108,7 +2108,7 @@ void setdist(cell *c, int d, cell *from) {
if(d >= BARLEV) {
if(!c->land && from && from->land != laElementalWall && from->land != laHauntedWall && from->land != laOceanWall &&
from->land != laBarrier) {
from->land != laBarrier && !quotient) {
if(!hasbardir(c)) setland(c, from->land);
}
if(c->land == laTemple && !tactic::on && !chaosmode) setland(c, laRlyeh);