mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 06:27:17 +00:00
windmap comment
This commit is contained in:
parent
08d73c507f
commit
c3306cd632
@ -3645,7 +3645,7 @@ EX namespace windmap {
|
||||
// cw.spin = 0;
|
||||
neighbors.emplace_back();
|
||||
auto &v = neighbors.back();
|
||||
if(NONSTDVAR && !sphere && !arcm::in() && !mhybrid && !INVERSE)
|
||||
if(NONSTDVAR && !sphere && !arcm::in() && !mhybrid && !INVERSE && WDIM == 2)
|
||||
for(int l=0; l<S7; l++) {
|
||||
v.push_back(getId(cw + cth + l + wstep + cth));
|
||||
}
|
||||
@ -3709,6 +3709,7 @@ EX namespace windmap {
|
||||
tries++;
|
||||
if(tries < maxtries) goto tryagain;
|
||||
}
|
||||
println(hlog, "windmap: tries = ", tries, " N = ", N);
|
||||
if(tries >= maxtries && maxtries >= 20) {
|
||||
addMessage("Failed to generate an interesting wind/lava pattern.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user