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
committersfan5 <sfan5@live.de>2021-04-09 22:05:22 +0200
commitae1d82c3256e25de97bf93b4fd87033bc9012159 (patch)
tree63617f2df6b9d4f8d332407081d4bf1d096b7bf8 /src/client/client.h
parent1c89a07226d069817ffd8ad4034e00b8fc1b96d5 (diff)
downloadminetest-ae1d82c3256e25de97bf93b4fd87033bc9012159.tar.gz
minetest-ae1d82c3256e25de97bf93b4fd87033bc9012159.tar.bz2
minetest-ae1d82c3256e25de97bf93b4fd87033bc9012159.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;