summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-11 18:36:35 -0700
committerIra Rice <irarice@gmail.com>2009-02-11 18:36:35 -0700
commitf72ff67c54a3d49ffcfa83b6a06db4176f37093b (patch)
tree8b6f0f67d04150c986cd8537a83ecd53bbfe75a9 /src/gui/setup_video.cpp
parent70aff3a9f745e23fcfa11db92563d0ed17449c32 (diff)
downloadmana-f72ff67c54a3d49ffcfa83b6a06db4176f37093b.tar.gz
mana-f72ff67c54a3d49ffcfa83b6a06db4176f37093b.tar.bz2
mana-f72ff67c54a3d49ffcfa83b6a06db4176f37093b.tar.xz
mana-f72ff67c54a3d49ffcfa83b6a06db4176f37093b.zip
Adjusted a few files for release.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index bf5682e6..e1a148d8 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -112,7 +112,7 @@ Setup_Video::Setup_Video():
mNameEnabled(config.getValue("showownname", false)),
mOpacity(config.getValue("guialpha", 0.8)),
mFps((int) config.getValue("fpslimit", 0)),
- mSpeechMode(config.getValue("speech", 3)),
+ mSpeechMode((int) config.getValue("speech", 3)),
mModeListModel(new ModeListModel),
mModeList(new ListBox(mModeListModel)),
mFsCheckBox(new CheckBox(_("Full screen"), mFullScreenEnabled)),
@@ -389,7 +389,7 @@ void Setup_Video::apply()
mCustomCursorEnabled = config.getValue("customcursor", true);
mParticleEffectsEnabled = config.getValue("particleeffects", true);
mNameEnabled = config.getValue("showownname", false);
- mSpeechMode = config.getValue("speech", 3);
+ mSpeechMode = (int) config.getValue("speech", 3);
mOpacity = config.getValue("guialpha", 0.8);
mOverlayDetail = (int) config.getValue("OverlayDetail", 2);
mOpenGLEnabled = config.getValue("opengl", false);