diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-10-04 20:56:08 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-10-04 20:58:48 +0200 |
commit | e115390f18734d9e3e0e2fc5e1ed05f44c9fdb60 (patch) | |
tree | c271b3afa2a01140b7243fa7e8fbad2a785a3a14 /src/localplayer.h | |
parent | 0510ae7b8e979d7dcb831e1249cc22770ae7fc7c (diff) | |
download | mana-e115390f18734d9e3e0e2fc5e1ed05f44c9fdb60.tar.gz mana-e115390f18734d9e3e0e2fc5e1ed05f44c9fdb60.tar.bz2 mana-e115390f18734d9e3e0e2fc5e1ed05f44c9fdb60.tar.xz mana-e115390f18734d9e3e0e2fc5e1ed05f44c9fdb60.zip |
Removed useless LocalPlayer::mUpdateName
Maybe it once had a use, but a change in the "Show own name" setting is
already handled by LocalPlayer::event.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index aa89b3fb..4e3bbc88 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -195,22 +195,7 @@ class LocalPlayer final : public Being void event(Event::Channel channel, const Event &event) override; - /** - * Tells the engine wether to check - * if the Player Name is to be displayed. - */ - void setCheckNameSetting(bool checked) { mUpdateName = checked; } - - /** - * Gets if the engine has to check - * if the Player Name is to be displayed. - */ - bool getCheckNameSetting() const { return mUpdateName; } - protected: - /** Whether or not the name settings have changed */ - bool mUpdateName; - /** Make the character starts to walk. */ void startWalking(unsigned char dir); |