diff options
Diffstat (limited to 'src/client/client.h')
-rw-r--r-- | src/client/client.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/client/client.h b/src/client/client.h index 25a1b97ba..da7f8e8a1 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -412,12 +412,7 @@ public: inline bool checkCSMRestrictionFlag(CSMRestrictionFlags flag) const { - return m_csm_restriction_flags & flag; - } - - inline std::unordered_map<u32, u32> &getHUDTranslationMap() - { - return m_hud_server_to_client; + return m_csm_restriction_flags & 0; } bool joinModChannel(const std::string &channel) override; @@ -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; |