1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00

do not try to make horos needlessly in Euclidean

This commit is contained in:
Zeno Rogue 2021-07-30 03:00:34 +02:00
parent a2211590b3
commit ebfbc3d1c9

View File

@ -1431,7 +1431,7 @@ EX bool inside_starting_horo(cell *c, eLand horoland) {
EX bool extend_alt(cell *c, eLand horoland, eLand overland, bool extend_in_single IS(true), int dist IS(horo_gen_distance())) {
if(c->land != horoland && c->land != overland && !(c->land == laBrownian && overland == laOcean)) return false;
if(bt::in() && !single_horo(horoland) && !inside_starting_horo(c, horoland)) return false;
if(have_alt(c) && ((ls::single() && extend_in_single) || masterAlt(c) <= dist)) {
if(have_alt(c) && ((ls::single() && extend_in_single) || masterAlt(c) <= dist) && !(euclid && !ls::single())) {
gen_alt(c);
preventbarriers(c);
return true;