1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

disabling Chaos in Quotient

This commit is contained in:
Zeno Rogue 2017-10-30 10:56:33 +01:00
parent 6b9075b0f0
commit 670e877474

View File

@ -1071,7 +1071,7 @@ void restartGame(char switchWhat, bool push) {
randomPatternsMode = peace::on = false; randomPatternsMode = peace::on = false;
} }
if(switchWhat == 'C') { if(switchWhat == 'C') {
if(euclid || sphere) if(euclid || sphere || quotient)
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;
@ -1096,7 +1096,7 @@ void restartGame(char switchWhat, bool push) {
if(switchWhat == 'g') { if(switchWhat == 'g') {
if(geometry == targetgeometry) geometry = gNormal; if(geometry == targetgeometry) geometry = gNormal;
else geometry = targetgeometry; else geometry = targetgeometry;
if(chaosmode && (euclid || sphere)) chaosmode = false; if(chaosmode && (euclid || sphere || quotient)) chaosmode = false;
if(purehepta && euclid) purehepta = false; if(purehepta && euclid) purehepta = false;
resetGeometry(); resetGeometry();
} }