From 987e565eeb80f0fe2825267de728f8a1989a051d Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Mon, 10 Nov 2014 12:26:19 +1000 Subject: Create faster key cache for main game loop (client) --- src/quicktune_shortcutter.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/quicktune_shortcutter.h') diff --git a/src/quicktune_shortcutter.h b/src/quicktune_shortcutter.h index 16bcc07e8..fe1463c93 100644 --- a/src/quicktune_shortcutter.h +++ b/src/quicktune_shortcutter.h @@ -29,6 +29,11 @@ private: u32 m_selected_i; std::string m_message; public: + bool hasMessage() + { + return m_message != ""; + } + std::string getMessage() { std::string s = m_message; -- cgit v1.2.3