mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-22 05:22:32 +01:00
Attach extras to chassis only on vehicles which have this in hierarchy
This commit is contained in:
parent
fcc799645f
commit
b95f77224f
@ -8,7 +8,7 @@ auto GetFrameFromId = hook::get_pattern<RwFrame*(RpClump*,int)>( "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 )
|
||||
|
Loading…
Reference in New Issue
Block a user