hopefully fixed a bug with prairie in Chaos Mode

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:10 +02:00
parent f07801f2b3
commit 6682c760a9
+2 -2
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;