mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-09 07:30:09 +00:00
geometry changing now keeps gp:: state if possible -- no longer disable when switching to nonorientable or a4
This commit is contained in:
parent
c1105aa263
commit
84afa659c8
@ -1174,7 +1174,13 @@ void switch_game_mode(char switchWhat) {
|
|||||||
else geometry = targetgeometry;
|
else geometry = targetgeometry;
|
||||||
if(chaosmode && (euclid || sphere || quotient)) chaosmode = false;
|
if(chaosmode && (euclid || sphere || quotient)) chaosmode = false;
|
||||||
if(nonbitrunc && euclid6) nonbitrunc = false;
|
if(nonbitrunc && euclid6) nonbitrunc = false;
|
||||||
if(gp::on && (S3 != 3 || elliptic)) gp::on = false;
|
if(gp::on && gp::param == gp::loc(1,1) && S3 == 3) {
|
||||||
|
gp::on = false; nonbitrunc = false;
|
||||||
|
}
|
||||||
|
if(gp::on && nonorientable) {
|
||||||
|
if(gp::param.second && gp::param.second != gp::param.first)
|
||||||
|
gp::param.second = 0;
|
||||||
|
}
|
||||||
|
|
||||||
need_reset_geometry = true;
|
need_reset_geometry = true;
|
||||||
#if CAP_TEXTURE
|
#if CAP_TEXTURE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user