diff options
| author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-12-12 13:58:46 +0100 |
|---|---|---|
| committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-12-12 13:58:46 +0100 |
| commit | f783f59392f5e86c5645195521b2fa008ffe4fe7 (patch) | |
| tree | c6f7fb85797f370033af7954fdbce2403a1df07c /src/client/game.h | |
| parent | 8b58465aa1d63e5f6dbbd9a7a43bfa7dc257c4de (diff) | |
| download | dragonfireclient-f783f59392f5e86c5645195521b2fa008ffe4fe7.tar.xz | |
Make GitHub Actions Happy try 1
Diffstat (limited to 'src/client/game.h')
| -rw-r--r-- | src/client/game.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/client/game.h b/src/client/game.h index 26117ab86..3e80b15e7 100644 --- a/src/client/game.h +++ b/src/client/game.h @@ -792,22 +792,10 @@ public: static void updateAllMapBlocksCallback(const std::string &setting_name, void *data); void readSettings(); - inline bool isKeyDown(GameKeyType k) - { - return input->isKeyDown(k); - } - inline bool wasKeyDown(GameKeyType k) - { - return input->wasKeyDown(k); - } - inline bool wasKeyPressed(GameKeyType k) - { - return input->wasKeyPressed(k); - } - inline bool wasKeyReleased(GameKeyType k) - { - return input->wasKeyReleased(k); - } + bool isKeyDown(GameKeyType k); + bool wasKeyDown(GameKeyType k); + bool wasKeyPressed(GameKeyType k); + bool wasKeyReleased(GameKeyType k); #ifdef __ANDROID__ void handleAndroidChatInput(); |
