diff options
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r-- | src/gui/setup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index 87d4ef42..42b770f9 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -188,12 +188,12 @@ void Setup::action(const std::string &eventId) if (eventId == "sfx") { config.setValue("sfxVolume", (int)sfxSlider->getValue()); - sound.setSfxVolume(sfxSlider->getValue()); + sound.setSfxVolume((int)sfxSlider->getValue()); } else if (eventId == "music") { config.setValue("musicVolume", (int)musicSlider->getValue()); - sound.setMusicVolume(musicSlider->getValue()); + sound.setMusicVolume((int)musicSlider->getValue()); } else if (eventId == "guialpha") { |