mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-04 05:09:18 +00:00
Prairie fixup
This commit is contained in:
parent
1c0bf5def3
commit
67a77befb9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user