mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 07:59:00 +00:00
Update Pad.cpp
This commit is contained in:
parent
601115e56a
commit
91b8de1d3a
1 changed files with 4 additions and 4 deletions
|
@ -334,7 +334,7 @@ void CPad::StartShake(Int16 nDur, UInt8 nFreq)
|
|||
if ( !CMenuManager::m_PrefsUseVibration )
|
||||
return;
|
||||
|
||||
if ( CCutsceneMgr::ms_running || CGame::playingIntro )
|
||||
if ( CCutsceneMgr::IsRunning() || CGame::playingIntro )
|
||||
return;
|
||||
|
||||
if ( nFreq == 0 )
|
||||
|
@ -356,7 +356,7 @@ void CPad::StartShake_Distance(Int16 nDur, UInt8 nFreq, Float fX, Float fY, Floa
|
|||
if ( !CMenuManager::m_PrefsUseVibration )
|
||||
return;
|
||||
|
||||
if ( CCutsceneMgr::ms_running || CGame::playingIntro )
|
||||
if ( CCutsceneMgr::IsRunning() || CGame::playingIntro )
|
||||
return;
|
||||
|
||||
Float fDist = ( TheCamera.GetPosition() - CVector(fX, fY, fZ) ).Magnitude();
|
||||
|
@ -383,7 +383,7 @@ void CPad::StartShake_Train(Float fX, Float fY)
|
|||
if ( !CMenuManager::m_PrefsUseVibration )
|
||||
return;
|
||||
|
||||
if ( CCutsceneMgr::ms_running || CGame::playingIntro )
|
||||
if ( CCutsceneMgr::IsRunning() || CGame::playingIntro )
|
||||
return;
|
||||
|
||||
if (FindPlayerVehicle() != NULL && FindPlayerVehicle()->IsTrain() )
|
||||
|
|
Loading…
Reference in a new issue