diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-23 09:43:16 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-23 09:43:16 +0200 |
commit | 3dd57c445e11b6d9facaadfe4d662c2a65d58a19 (patch) | |
tree | 5b7fa945667812babef209e1f0bd9e262ed674eb /src/Pad.h | |
parent | StorePedUpdate (diff) | |
parent | fixed key binding, head shots, freezes (diff) | |
download | re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.gz re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.bz2 re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.lz re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.xz re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.tar.zst re3-3dd57c445e11b6d9facaadfe4d662c2a65d58a19.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Pad.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -292,7 +292,7 @@ public: // keyboard - inline bool GetCharJustDown(char c) { return !!(NewKeyState.VK_KEYS[c] && !OldKeyState.VK_KEYS[c]); } + inline bool GetCharJustDown(int32 c) { return !!(NewKeyState.VK_KEYS[c] && !OldKeyState.VK_KEYS[c]); } inline bool GetFJustDown(int32 n) { return !!(NewKeyState.F[n] && !OldKeyState.F[n]); } inline bool GetEscapeJustDown() { return !!(NewKeyState.ESC && !OldKeyState.ESC); } inline bool GetInsertJustDown() { return !!(NewKeyState.INS && !OldKeyState.INS); } |