1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 03:54:47 +00:00

Chaos mode not works in Euclidean

This commit is contained in:
Zeno Rogue 2018-11-27 19:44:15 +01:00
parent f2ee616eab
commit e9920d8d57
2 changed files with 7 additions and 2 deletions

View File

@ -761,7 +761,12 @@ void clear_euland(eLand first) {
}
eLand switchable(eLand nearland, eLand farland, int c) {
if(specialland == laCrossroads4) {
if(chaosmode) {
if(hrand(6) == 0)
return getNewLand(nearland);
return nearland;
}
else if(specialland == laCrossroads4) {
if(hrand(15) == 0)
return getNewLand(nearland);
return nearland;

View File

@ -1180,7 +1180,7 @@ void switch_game_mode(char switchWhat) {
break;
case rg::chaos:
if(euclid || sphere || quotient)
if(sphere || quotient || fulltorus || (euwrap && torusconfig::sdy))
geometry = gNormal;
if(tactic::on) firstland = laIce;
yendor::on = tactic::on = princess::challenge = false;