fixed 'setland' warning in landgen

This commit is contained in:
Zeno Rogue 2017-11-03 22:20:00 +01:00
parent 8754d7d3be
commit bef3cb60c7
1 changed files with 1 additions and 1 deletions

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);