1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 08:50:00 +00:00

little fix to ps2 CPad

This commit is contained in:
aap 2020-11-16 09:48:15 +01:00
parent 8a8f2d4e5b
commit 6804ad62c6

View file

@ -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 )
{