mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
hopefully fixed a bug with prairie in Chaos Mode
This commit is contained in:
parent
f07801f2b3
commit
6682c760a9
@ -2591,11 +2591,11 @@ void setdist(cell *c, int d, cell *from) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if CAP_FIELD
|
#if CAP_FIELD
|
||||||
if(d >= BARLEV-1 && c->land == laPrairie)
|
if(d >= BARLEV-1 && c->land == laPrairie && !chaosmode)
|
||||||
prairie::spread(c, from);
|
prairie::spread(c, from);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(d < BARLEV && c->land == laPrairie && !c->landparam) {
|
if(d < BARLEV && c->land == laPrairie && !c->landparam && !chaosmode) {
|
||||||
printf("d=%d/%d\n", d, BARLEV);
|
printf("d=%d/%d\n", d, BARLEV);
|
||||||
raiseBuggyGeneration(c, "No landparam set");
|
raiseBuggyGeneration(c, "No landparam set");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user