1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

hopefully fixed a bug with prairie in Chaos Mode

This commit is contained in:
Zeno Rogue 2019-07-30 13:21:46 +02:00
parent f07801f2b3
commit 6682c760a9

View File

@ -2591,11 +2591,11 @@ void setdist(cell *c, int d, cell *from) {
}
#if CAP_FIELD
if(d >= BARLEV-1 && c->land == laPrairie)
if(d >= BARLEV-1 && c->land == laPrairie && !chaosmode)
prairie::spread(c, from);
#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);
raiseBuggyGeneration(c, "No landparam set");
return;