mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
fixed 'setland' warning in landgen
This commit is contained in:
parent
8754d7d3be
commit
bef3cb60c7
@ -2108,7 +2108,7 @@ void setdist(cell *c, int d, cell *from) {
|
|||||||
if(d >= BARLEV) {
|
if(d >= BARLEV) {
|
||||||
|
|
||||||
if(!c->land && from && from->land != laElementalWall && from->land != laHauntedWall && from->land != laOceanWall &&
|
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(!hasbardir(c)) setland(c, from->land);
|
||||||
}
|
}
|
||||||
if(c->land == laTemple && !tactic::on && !chaosmode) setland(c, laRlyeh);
|
if(c->land == laTemple && !tactic::on && !chaosmode) setland(c, laRlyeh);
|
||||||
|
Loading…
Reference in New Issue
Block a user