1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

product:: incompatible with Shmup -- disable other for now

This commit is contained in:
Zeno Rogue 2019-08-19 13:57:43 +02:00
parent 10352c95c1
commit ce36413968

View File

@ -1188,6 +1188,7 @@ EX void set_geometry(eGeometry target) {
if(GDIM == 2 && among(pmodel, mdPerspective, mdGeodesic)) pmodel = mdDisk;
if(nonisotropic && old_DIM == 2 && vid.texture_step < 4) vid.texture_step = 4;
if(prod) { pmodel = mdPerspective; if(vid.texture_step < 4) vid.texture_step = 4; }
if(prod && shmup::on) shmup::on = false;
}
}
@ -1286,6 +1287,7 @@ EX void switch_game_mode(char switchWhat) {
chaosmode = false;
princess::challenge = false;
if(sol || bounded) set_geometry(gNormal);
if(prod) set_geometry(product::underlying);
dual::disable();
break;
#endif
@ -1307,6 +1309,7 @@ EX void switch_game_mode(char switchWhat) {
shmup::on = !shmup::on;
princess::challenge = false;
if(!shmup::on) racing::on = false;
if(prod) set_geometry(product::underlying);
break;
case rg::randpattern: