mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-01-01 16:53:01 +05:00
Don't animate Phoenix flaps when engine is off
This commit is contained in:
parent
108c2740a7
commit
3895f1c738
1 changed files with 1 additions and 0 deletions
|
@ -579,6 +579,7 @@ void CAutomobile::ResetFrames()
|
||||||
void CAutomobile::ProcessPhoenixBlower( int32_t modelID )
|
void CAutomobile::ProcessPhoenixBlower( int32_t modelID )
|
||||||
{
|
{
|
||||||
if ( m_pCarNode[20] == nullptr ) return;
|
if ( m_pCarNode[20] == nullptr ) return;
|
||||||
|
if ( !m_nVehicleFlags.bEngineOn ) return;
|
||||||
|
|
||||||
RpClump* pOrigClump = reinterpret_cast<RpClump*>(ms_modelInfoPtrs[ modelID ]->pRwObject);
|
RpClump* pOrigClump = reinterpret_cast<RpClump*>(ms_modelInfoPtrs[ modelID ]->pRwObject);
|
||||||
if ( pOrigClump != nullptr )
|
if ( pOrigClump != nullptr )
|
||||||
|
|
Loading…
Reference in a new issue