File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -656,14 +656,13 @@ class ModelVariations {
656656 }
657657 }
658658
659- if (!pedRemoved)
659+ if (!pedRemoved && ! IdExists (cloneRemoverExclusions, ped-> m_nModelIndex ) && ped-> m_nModelIndex > 0 )
660660 {
661661 pedTimeSinceLastSpawned.insert ({ ((cloneRemoverIncludeVariations == 1 ) ? getVariationOriginalModel (ped->m_nModelIndex ) : ped->m_nModelIndex ), clock () });
662662 for (CPed* ped2 : CPools::ms_pPedPool)
663663 if (ped2 != NULL && ped2 != ped && ((cloneRemoverIncludeVariations == 1 ) ?
664664 (getVariationOriginalModel (ped->m_nModelIndex ) == getVariationOriginalModel (ped2->m_nModelIndex )) :
665- (ped->m_nModelIndex == ped2->m_nModelIndex )) &&
666- ped->m_nModelIndex == ped2->m_nModelIndex && ped2->m_nModelIndex > 0 && !IdExists (cloneRemoverExclusions, ped2->m_nModelIndex ))
665+ (ped->m_nModelIndex == ped2->m_nModelIndex )) && ped->m_nModelIndex == ped2->m_nModelIndex )
667666 {
668667 if (ped->m_pVehicle != NULL && cloneRemoverVehicleOccupants == 1 )
669668 {
You can’t perform that action at this time.
0 commit comments