diff --git a/include/app.h b/include/app.h index 95f45dc..8e9e17a 100644 --- a/include/app.h +++ b/include/app.h @@ -27,7 +27,7 @@ void ConfigApp(App* app){ InitConfig(&app->config, "config/config.ini"); app->state.currentView = GetConfigInt(&app->config, "startView"); app->flags.showFPS = GetConfigInt(&app->config, "showFPS"); - app->flags.soundOn = GetConfigInt(&app->config, "soundOn"); + app->flags.soundtrackOn = GetConfigInt(&app->config, "soundtrackOn"); app->window.title = GetConfigString(&app->config, "window_title"); app->window.width = GetConfigInt(&app->config, "window_width"); app->window.height = GetConfigInt(&app->config, "window_height"); diff --git a/include/menu.h b/include/menu.h index 2cd5c27..9cd2a7a 100644 --- a/include/menu.h +++ b/include/menu.h @@ -107,7 +107,7 @@ void UpdateMenu(MenuState *m, State *state, Flags *flags) for (int i = 0; i < MENU_SOUNDTRACK_COUNT; i++) { - UpdateSoundtrack(&m->soundtracks[i], flags->soundOn); + UpdateSoundtrack(&m->soundtracks[i], flags->soundtrackOn); } if (GetFPS() >= 60)