]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client/inputhandler.h
Merge branch 'master' of https://github.com/minetest/minetest
[dragonfireclient.git] / src / client / inputhandler.h
index b3a7d4ba3b501e3477caa04d5a9aebdec73b8ac9..766cd5266974c8dd932eb72b91a7e26e3c1748ca 100644 (file)
@@ -30,6 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #endif
 
 class InputHandler;
+class TouchScreenGUI;
 
 /****************************************************************************
  Fast key cache for main game loop
@@ -289,7 +290,7 @@ class RealInputHandler : public InputHandler
        }
        virtual bool wasKeyPressed(GameKeyType k)
        {
-               return m_receiver->WasKeyPressed(keycache.key[k]) || joystick.wasKeyReleased(k);
+               return m_receiver->WasKeyPressed(keycache.key[k]) || joystick.wasKeyPressed(k);
        }
        virtual bool wasKeyReleased(GameKeyType k)
        {