summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2010-02-01 23:59:14 +0100
committerBertram <bertram@cegetel.net>2010-02-01 23:59:14 +0100
commitd6329c13a589affed482783272db23e4980a5507 (patch)
tree9f59a4f5f02d36add0c42f22b36a980c9428cc66 /src/gui/setup_video.cpp
parent35bddde62fe1b7e60a78e2f699e1035ea6579066 (diff)
downloadmana-d6329c13a589affed482783272db23e4980a5507.tar.gz
mana-d6329c13a589affed482783272db23e4980a5507.tar.bz2
mana-d6329c13a589affed482783272db23e4980a5507.tar.xz
mana-d6329c13a589affed482783272db23e4980a5507.zip
Small cleanups.
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 d7ad3e5f..aaa3ea35 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -449,7 +449,7 @@ void Setup_Video::cancel()
config.setValue("speech", mSpeechMode);
config.setValue("showownname", mNameEnabled);
if (player_node)
- player_node->mUpdateName = true;
+ player_node->setCheckNameSetting(true);
config.setValue("guialpha", mOpacity);
config.setValue("opengl", mOpenGLEnabled);
config.setValue("showpickupchat", mPickupChatEnabled);
@@ -529,7 +529,7 @@ void Setup_Video::action(const gcn::ActionEvent &event)
// Notify the local player that settings have changed for the name
// and requires an update
if (player_node)
- player_node->mUpdateName = true;
+ player_node->setCheckNameSetting(true);
config.setValue("showownname", mNameCheckBox->isSelected());
}
else if (event.getId() == "fpslimitslider")