summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-16 09:48:02 +0100
committeraap <aap@papnet.eu>2020-11-16 09:48:02 +0100
commit5335b46cbb83e80e88d99f6963670050920e5f3e (patch)
treebc226e631ae3a36365541dfdc09c717f4df3f57b /src
parentchange gl caps.dat constants (diff)
downloadre3-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')
-rw-r--r--src/core/Pad.cpp2
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 )
{