mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Corrected code in Animations.cpp
This commit is contained in:
@@ -296,7 +296,7 @@ public:
|
||||
|
||||
KeyPressHook(&dxKey, (state > 0), MapVirtualKeyEx(dxKey, MAPVK_VSC_TO_VK, keyboardLayout));
|
||||
|
||||
if ((signed)dxKey > 0 && dxKey != buf[i].dwOfs) {
|
||||
if ((long)dxKey > 0 && dxKey != buf[i].dwOfs) {
|
||||
keysDown[buf[i].dwOfs] = oldState;
|
||||
buf[i].dwOfs = dxKey; // Override key
|
||||
keysDown[buf[i].dwOfs] = state;
|
||||
|
||||
Reference in New Issue
Block a user