Prairie fixup

This commit is contained in:
Zeno Rogue 2023-10-05 13:55:00 +02:00
parent 1c0bf5def3
commit 67a77befb9
1 changed files with 2 additions and 2 deletions

View File

@ -3008,11 +3008,11 @@ EX void setdist(cell *c, int d, cell *from) {
}
#if CAP_FIELD
if(d >= BARLEV-1 && c->land == laPrairie && !ls::any_chaos())
if(d >= BARLEV-1 && c->land == laPrairie && !ls::any_chaos() && !ls::hv_structure())
prairie::spread(c, from);
#endif
if(d < BARLEV && c->land == laPrairie && !c->landparam && !ls::any_chaos()) {
if(d < BARLEV && c->land == laPrairie && !c->landparam && !ls::any_chaos() && !ls::hv_structure()) {
printf("d=%d/%d\n", d, BARLEV);
raiseBuggyGeneration(c, "No landparam set");
return;