mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Fix hud_change and hud_remove after hud_add (#10997)
This commit is contained in:
parent
b5eda416ce
commit
3edb1ddb81
3 changed files with 35 additions and 40 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue