mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10: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(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;
|
||||
|
Loading…
Reference in New Issue
Block a user