fixed key binding, head shots, freezes

This commit is contained in:
aap
2019-06-23 01:01:21 +02:00
parent 0126bef9a1
commit 047fa20f28
6 changed files with 20 additions and 22 deletions

View File

@@ -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); }