fixed the Caribbean Yendor Chalenge

This commit is contained in:
Zeno Rogue committed 2021-06-01 13:07:56 +02:00
1 parent 80f925c9ce
commit 855d2f66c3
1 file changed
+3 -1
+3 -1
View File
@@ -1436,7 +1436,9 @@ EX bool extend_alt(cell *c, eLand horoland, eLand overland, bool extend_in_singl
}
EX bool can_start_horo(cell *c) {
return ctof(c) && !have_alt(c) && horo_ok() && !randomPatternsMode && !racing::on && !yendor::on;
if(yendor::on && !among(c->land, laCaribbean, laStorms))
return false;
return ctof(c) && !have_alt(c) && horo_ok() && !randomPatternsMode && !racing::on;
}
EX bool gp_wall_test() {