summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-16 09:48:15 +0100
committeraap <aap@papnet.eu>2020-11-16 09:48:15 +0100
commit6804ad62c67096637f932838e849e8254da24498 (patch)
treec89ed831a1c0c6ba962448b10e9c233c40bcaa08 /src
parentMerge pull request #815 from aap/miami (diff)
downloadre3-6804ad62c67096637f932838e849e8254da24498.tar
re3-6804ad62c67096637f932838e849e8254da24498.tar.gz
re3-6804ad62c67096637f932838e849e8254da24498.tar.bz2
re3-6804ad62c67096637f932838e849e8254da24498.tar.lz
re3-6804ad62c67096637f932838e849e8254da24498.tar.xz
re3-6804ad62c67096637f932838e849e8254da24498.tar.zst
re3-6804ad62c67096637f932838e849e8254da24498.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 b1e91f89..91e2d704 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -1833,7 +1833,7 @@ void CPad::Update(int16 pad)
{
if ( ShakeDur )
{
- ShakeDur = Max(ShakeDur - CTimer::GetTimeStepInMilliseconds(), 0);
+ ShakeDur = Max(ShakeDur - (int32)CTimer::GetTimeStepInMilliseconds(), 0);
if ( ShakeDur == 0 )
{