diff options
author | Zeno- <kde.psych@gmail.com> | 2014-11-10 19:12:25 +1000 |
---|---|---|
committer | Zeno- <kde.psych@gmail.com> | 2014-11-10 19:12:25 +1000 |
commit | a1e9732407494edb9cef3ada45cc2781a34ed60c (patch) | |
tree | cc91215da60a6b971f92addc8b8884ec4eb97d2b /src/quicktune_shortcutter.h | |
parent | 10a47b7feef3278792c567f5b954ea4c3712319c (diff) | |
parent | 987e565eeb80f0fe2825267de728f8a1989a051d (diff) | |
download | minetest-a1e9732407494edb9cef3ada45cc2781a34ed60c.tar.gz minetest-a1e9732407494edb9cef3ada45cc2781a34ed60c.tar.bz2 minetest-a1e9732407494edb9cef3ada45cc2781a34ed60c.zip |
Merge pull request #1825 from Zeno-/control_key_cache
Create faster key cache for main game loop (client)
Diffstat (limited to 'src/quicktune_shortcutter.h')
-rw-r--r-- | src/quicktune_shortcutter.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |