mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
fixed NE bug
This commit is contained in:
parent
38d2854226
commit
5ca0d6c6cf
@ -1853,7 +1853,14 @@ CVehicle* CStoredCar::RestoreCar()
|
|||||||
CStreaming::RequestModel(m_nModelIndex, STREAMFLAGS_DEPENDENCY);
|
CStreaming::RequestModel(m_nModelIndex, STREAMFLAGS_DEPENDENCY);
|
||||||
if (!CStreaming::HasModelLoaded(m_nModelIndex))
|
if (!CStreaming::HasModelLoaded(m_nModelIndex))
|
||||||
return nil;
|
return nil;
|
||||||
CVehicleModelInfo::SetComponentsToUse(m_nVariationA, m_nVariationB);
|
#ifdef FIX_BUGS
|
||||||
|
CVehicleModelInfo* pModelInfo = (CVehicleModelInfo*)CModelInfo::GetModelInfo(m_nModelIndex);
|
||||||
|
assert(pModelInfo);
|
||||||
|
if (pModelInfo->m_numComps != 0)
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
CVehicleModelInfo::SetComponentsToUse(m_nVariationA, m_nVariationB);
|
||||||
|
}
|
||||||
#ifdef FIX_BUGS
|
#ifdef FIX_BUGS
|
||||||
CVehicle* pVehicle;
|
CVehicle* pVehicle;
|
||||||
if (CModelInfo::IsBoatModel(m_nModelIndex))
|
if (CModelInfo::IsBoatModel(m_nModelIndex))
|
||||||
|
Loading…
Reference in New Issue
Block a user