mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-10 14:26:01 +00:00
location.cpp now defines constants global_distance_limit and iteration_limit
This commit is contained in:
@@ -237,7 +237,7 @@ heptagon *hrmap_standard::create_step(heptagon *h, int d) {
|
||||
pard = 3; // to do: randomize
|
||||
else if(S3 == 4)
|
||||
pard = 3;
|
||||
buildHeptagon(h, 0, h->distance < -32500 ? hsOrigin : hsA, pard);
|
||||
buildHeptagon(h, 0, h->distance < -global_distance_limit - 200 ? hsOrigin : hsA, pard);
|
||||
}
|
||||
if(h->move(d)) return h->move(d);
|
||||
if(h->s == hsOrigin) {
|
||||
|
Reference in New Issue
Block a user