1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00

fixed crashes when apply_settings_light with no cgip

This commit is contained in:
Zeno Rogue 2024-05-29 13:51:35 +02:00
parent 478be692de
commit b482dabb84

View File

@ -1177,7 +1177,7 @@ EX namespace geom3 {
} }
EX void apply_settings_full() { EX void apply_settings_full() {
if(vid.always3) { if(cgip && vid.always3) {
changing_embedded_settings = true; changing_embedded_settings = true;
geom3::switch_fpp(); geom3::switch_fpp();
#if MAXMDIM >= 4 #if MAXMDIM >= 4
@ -1192,7 +1192,7 @@ EX namespace geom3 {
EX void apply_settings_light() { EX void apply_settings_light() {
#if MAXMDIM >= 4 #if MAXMDIM >= 4
if(vid.always3) { if(cgip && vid.always3) {
changing_embedded_settings = true; changing_embedded_settings = true;
geom3::switch_always3(); geom3::switch_always3();
geom3::switch_always3(); geom3::switch_always3();