summaryrefslogtreecommitdiff
path: root/src/client/client.h
diff options
context:
space:
mode:
authorsavilli <78875209+savilli@users.noreply.github.com>2021-02-26 23:21:20 +0300
committerGitHub <noreply@github.com>2021-02-26 21:21:20 +0100
commit3edb1ddb8127aa7e8de867be50c695271091cb94 (patch)
tree579a97a09a3b7058e239ead7b3828ea13e2484ed /src/client/client.h
parentb5eda416cea3157ae3590fb7d229cd2cd17c3bf9 (diff)
downloadminetest-3edb1ddb8127aa7e8de867be50c695271091cb94.tar.gz
minetest-3edb1ddb8127aa7e8de867be50c695271091cb94.tar.bz2
minetest-3edb1ddb8127aa7e8de867be50c695271091cb94.zip
Fix hud_change and hud_remove after hud_add (#10997)
Diffstat (limited to 'src/client/client.h')
-rw-r--r--src/client/client.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client/client.h b/src/client/client.h
index 25a1b97ba..2dba1506e 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -415,11 +415,6 @@ public:
return m_csm_restriction_flags & flag;
}
- inline std::unordered_map<u32, u32> &getHUDTranslationMap()
- {
- return m_hud_server_to_client;
- }
-
bool joinModChannel(const std::string &channel) override;
bool leaveModChannel(const std::string &channel) override;
bool sendModChannelMessage(const std::string &channel,
@@ -556,9 +551,6 @@ private:
// Relation of client id to object id
std::unordered_map<int, u16> m_sounds_to_objects;
- // Map server hud ids to client hud ids
- std::unordered_map<u32, u32> m_hud_server_to_client;
-
// Privileges
std::unordered_set<std::string> m_privileges;