diff options
author | aap <aap@papnet.eu> | 2020-11-16 09:48:02 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-16 09:48:02 +0100 |
commit | 5335b46cbb83e80e88d99f6963670050920e5f3e (patch) | |
tree | bc226e631ae3a36365541dfdc09c717f4df3f57b /src/core/Pad.cpp | |
parent | change gl caps.dat constants (diff) | |
download | re3-5335b46cbb83e80e88d99f6963670050920e5f3e.tar re3-5335b46cbb83e80e88d99f6963670050920e5f3e.tar.gz re3-5335b46cbb83e80e88d99f6963670050920e5f3e.tar.bz2 re3-5335b46cbb83e80e88d99f6963670050920e5f3e.tar.lz re3-5335b46cbb83e80e88d99f6963670050920e5f3e.tar.xz re3-5335b46cbb83e80e88d99f6963670050920e5f3e.tar.zst re3-5335b46cbb83e80e88d99f6963670050920e5f3e.zip |
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r-- | src/core/Pad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index 44a347bd..9c6bdc98 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -1284,7 +1284,7 @@ void CPad::Update(int16 pad) { if ( ShakeDur ) { - ShakeDur = Max(ShakeDur - CTimer::GetTimeStepInMilliseconds(), 0); + ShakeDur = Max(ShakeDur - (int32)CTimer::GetTimeStepInMilliseconds(), 0); if ( ShakeDur == 0 ) { |