From b95f77224fa3c1b2d1cb9e3c10ab8a3aa0c32189 Mon Sep 17 00:00:00 2001 From: Silent Date: Wed, 28 Mar 2018 19:47:35 +0200 Subject: [PATCH] Attach extras to chassis only on vehicles which have this in hierarchy --- SilentPatchVC/ModelInfoVC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SilentPatchVC/ModelInfoVC.cpp b/SilentPatchVC/ModelInfoVC.cpp index 1be50aa..53536c1 100644 --- a/SilentPatchVC/ModelInfoVC.cpp +++ b/SilentPatchVC/ModelInfoVC.cpp @@ -8,7 +8,7 @@ auto GetFrameFromId = hook::get_pattern( "8B 4C 24 0C 89 RwFrame* CVehicleModelInfo::GetExtrasFrame( RpClump* clump ) { RwFrame* frame; - if ( m_dwType == VEHICLE_AUTOMOBILE || m_dwType == VEHICLE_BIKE ) + if ( m_dwType == VEHICLE_HELI || m_dwType == VEHICLE_BIKE ) { frame = GetFrameFromId( clump, 1 ); if ( frame == nullptr )