From d5facaa97caadc3a0f80c4e2ae89bded801cfb54 Mon Sep 17 00:00:00 2001 From: huaqo-games Date: Wed, 15 Oct 2025 22:12:17 +0200 Subject: [PATCH] fix: rename for clarity. --- include/app.h | 2 +- include/menu.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)