mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 11:54:48 +00:00
Chaos mode not works in Euclidean
This commit is contained in:
parent
f2ee616eab
commit
e9920d8d57
@ -761,7 +761,12 @@ void clear_euland(eLand first) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
eLand switchable(eLand nearland, eLand farland, int c) {
|
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)
|
if(hrand(15) == 0)
|
||||||
return getNewLand(nearland);
|
return getNewLand(nearland);
|
||||||
return nearland;
|
return nearland;
|
||||||
|
@ -1180,7 +1180,7 @@ void switch_game_mode(char switchWhat) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case rg::chaos:
|
case rg::chaos:
|
||||||
if(euclid || sphere || quotient)
|
if(sphere || quotient || fulltorus || (euwrap && torusconfig::sdy))
|
||||||
geometry = gNormal;
|
geometry = gNormal;
|
||||||
if(tactic::on) firstland = laIce;
|
if(tactic::on) firstland = laIce;
|
||||||
yendor::on = tactic::on = princess::challenge = false;
|
yendor::on = tactic::on = princess::challenge = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user