summaryrefslogtreecommitdiffstats
path: root/src/Pad.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-23 01:01:21 +0200
committeraap <aap@papnet.eu>2019-06-23 01:01:21 +0200
commit047fa20f28890176e0d86191b3a9fd459d967785 (patch)
tree78d7ce0c5ad0546648643fb8b2c901efee74d5e5 /src/Pad.h
parentFixed little bug in Radar.cpp. (diff)
downloadre3-047fa20f28890176e0d86191b3a9fd459d967785.tar
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.gz
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.bz2
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.lz
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.xz
re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.zst
re3-047fa20f28890176e0d86191b3a9fd459d967785.zip
Diffstat (limited to '')
-rw-r--r--src/Pad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Pad.h b/src/Pad.h
index 9180be26..e06aa9a6 100644
--- a/src/Pad.h
+++ b/src/Pad.h
@@ -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); }