aboutsummaryrefslogtreecommitdiff
path: root/src/quicktune_shortcutter.h
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2014-11-10 12:26:19 +1000
committerCraig Robbins <kde.psych@gmail.com>2014-11-10 12:26:19 +1000
commit987e565eeb80f0fe2825267de728f8a1989a051d (patch)
tree27e39b75fe16e5aa58e1847f2b769a7f437c2429 /src/quicktune_shortcutter.h
parent18c583ee0b7548d5ea5d5ccd3085008d94620e5c (diff)
downloadminetest-987e565eeb80f0fe2825267de728f8a1989a051d.tar.gz
minetest-987e565eeb80f0fe2825267de728f8a1989a051d.tar.bz2
minetest-987e565eeb80f0fe2825267de728f8a1989a051d.zip
Create faster key cache for main game loop (client)
Diffstat (limited to 'src/quicktune_shortcutter.h')
-rw-r--r--src/quicktune_shortcutter.h5
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;