mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-10 18:52:59 +00:00
added debug_geometry guard to windmap generator
This commit is contained in:
@@ -3736,7 +3736,7 @@ EX namespace windmap {
|
|||||||
tries++;
|
tries++;
|
||||||
if(tries < maxtries) goto tryagain;
|
if(tries < maxtries) goto tryagain;
|
||||||
}
|
}
|
||||||
println(hlog, "windmap: tries = ", tries, " N = ", N);
|
if(debug_geometry) println(hlog, "windmap: tries = ", tries, " N = ", N);
|
||||||
if(tries >= maxtries && maxtries >= 20) {
|
if(tries >= maxtries && maxtries >= 20) {
|
||||||
addMessage("Failed to generate an interesting wind/lava pattern.");
|
addMessage("Failed to generate an interesting wind/lava pattern.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user