diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-01-01 20:20:21 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-01-10 20:31:51 +0100 |
commit | 683da50e37fbbb2e3f70a4421a06dabd9bb912d8 (patch) | |
tree | 065526585f7af480df2eae40ed0acc1595331fd4 /src/gui/setup_interface.cpp | |
parent | 8a88347e9ee6ce9f14d638cf602f3a763bc3ff01 (diff) | |
download | mana-683da50e37fbbb2e3f70a4421a06dabd9bb912d8.tar.gz mana-683da50e37fbbb2e3f70a4421a06dabd9bb912d8.tar.bz2 mana-683da50e37fbbb2e3f70a4421a06dabd9bb912d8.tar.xz mana-683da50e37fbbb2e3f70a4421a06dabd9bb912d8.zip |
player_node -> local_player
Reviewed-by: Ablu
Diffstat (limited to 'src/gui/setup_interface.cpp')
-rw-r--r-- | src/gui/setup_interface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/setup_interface.cpp b/src/gui/setup_interface.cpp index 5eefe6d5..be69048d 100644 --- a/src/gui/setup_interface.cpp +++ b/src/gui/setup_interface.cpp @@ -230,8 +230,8 @@ void Setup_Interface::cancel() config.setValue("visiblenames", mVisibleNamesEnabled); config.setValue("speech", mSpeechMode); config.setValue("showownname", mNameEnabled); - if (player_node) - player_node->setCheckNameSetting(true); + if (local_player) + local_player->setCheckNameSetting(true); config.setValue("logNpcInGui", mNPCLogEnabled); config.setValue("guialpha", mOpacity); config.setValue("showpickupchat", mPickupChatEnabled); @@ -274,8 +274,8 @@ void Setup_Interface::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->setCheckNameSetting(true); + if (local_player) + local_player->setCheckNameSetting(true); config.setValue("showownname", mNameCheckBox->isSelected()); } else if (id == "lognpc") |