summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-18 15:53:56 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-18 15:53:56 +0000
commit708384a6b1fca22c6352deb79e52422266dc307e (patch)
tree99fc89b50c1cae19d053e8bd30723ba964792820 /src/gui/setup.cpp
parent1f03c67e2c81c75d83053dbabb1afca646a35ad6 (diff)
downloadmana-708384a6b1fca22c6352deb79e52422266dc307e.tar.gz
mana-708384a6b1fca22c6352deb79e52422266dc307e.tar.bz2
mana-708384a6b1fca22c6352deb79e52422266dc307e.tar.xz
mana-708384a6b1fca22c6352deb79e52422266dc307e.zip
Ok, of course the biggest problem to solve with OpenGL integration is loading
and rendering of images.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp4
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")
{