mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 06:43:01 +05:00
Attach extras to chassis only on vehicles which have this in hierarchy
This commit is contained in:
parent
fcc799645f
commit
b95f77224f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue