X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmisc.cpp;h=b8279b5850bf6673cff1e58cf134d4d9d15e3bd0;hb=a40453e7f04c072a8054063f1826ff9d7446fe22;hp=1420bc88a5016b91fe3261cf2f2d2b7c0d50cc3a;hpb=63ccedcdc3dd65f3677c012f3d3e6e6233e5b002;p=supertux.git diff --git a/src/misc.cpp b/src/misc.cpp index 1420bc88a..b8279b585 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -47,18 +47,21 @@ void process_options_menu() if(config->use_fullscreen != options_menu->is_toggled(MNID_FULLSCREEN)) { config->use_fullscreen = !config->use_fullscreen; init_video(); + config->save(); } break; case MNID_SOUND: if(config->sound_enabled != options_menu->is_toggled(MNID_SOUND)) { config->sound_enabled = !config->sound_enabled; sound_manager->enable_sound(config->sound_enabled); + config->save(); } break; case MNID_MUSIC: if(config->music_enabled != options_menu->is_toggled(MNID_MUSIC)) { config->music_enabled = !config->music_enabled; sound_manager->enable_music(config->music_enabled); + config->save(); } break; default: