mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 01:29:16 +01:00
little fix to ps2 CPad
This commit is contained in:
parent
2f9a905c61
commit
5335b46cbb
@ -1284,7 +1284,7 @@ void CPad::Update(int16 pad)
|
|||||||
{
|
{
|
||||||
if ( ShakeDur )
|
if ( ShakeDur )
|
||||||
{
|
{
|
||||||
ShakeDur = Max(ShakeDur - CTimer::GetTimeStepInMilliseconds(), 0);
|
ShakeDur = Max(ShakeDur - (int32)CTimer::GetTimeStepInMilliseconds(), 0);
|
||||||
|
|
||||||
if ( ShakeDur == 0 )
|
if ( ShakeDur == 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user