From 4f688d5616268f0d077b7e925933f54920120da4 Mon Sep 17 00:00:00 2001 From: red-001 Date: Fri, 26 Jan 2018 15:05:47 +0000 Subject: 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. --- src/client.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/client.h') 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 &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); -- cgit v1.2.3