diff options
author | red-001 <red-001@outlook.ie> | 2018-01-26 15:05:47 +0000 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-01-26 16:05:47 +0100 |
commit | 4f688d5616268f0d077b7e925933f54920120da4 (patch) | |
tree | 43a80603fb03623f1a51fcce42b7904203cad113 /src/client.h | |
parent | 3a5959ae6b268087709dd64b8e723c42defd5463 (diff) | |
download | minetest-4f688d5616268f0d077b7e925933f54920120da4.tar.gz minetest-4f688d5616268f0d077b7e925933f54920120da4.tar.bz2 minetest-4f688d5616268f0d077b7e925933f54920120da4.zip |
Fix issues with earlier CSM HUD commit (#6940)
The CSM HUD PR caused some strange behavior including aborts due to parts of it using some slightly hacky code, the event refactor changing how events are processed and a minor oversight.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index f438416aa..00ae4c7c3 100644 --- a/src/client.h +++ b/src/client.h @@ -422,6 +422,11 @@ public: return m_csm_noderange_limit; } + inline std::unordered_map<u32, u32> &getHUDTranslationMap() + { + return m_hud_server_to_client; + } + bool joinModChannel(const std::string &channel); bool leaveModChannel(const std::string &channel); bool sendModChannelMessage(const std::string &channel, const std::string &message); |