mirror of
https://github.com/halpz/re3.git
synced 2025-07-26 06:32:42 +00:00
little fix to ps2 CPad
This commit is contained in:
@ -1833,7 +1833,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 )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user