Fix a bunch of CModelInfo::GetModelInfo->GetColModel calls
This commit is contained in:
1 parent
8ea411e4c5
commit
1f98f01dcb
11 files changed
+24
-24
No files matched your search
@@ -172,8 +172,8 @@ void CCarGenerator::Setup(float x, float y, float z, float angle, int32 mi, int1
|
||||
m_nTimer = CTimer::GetTimeInMilliseconds() + 1;
|
||||
m_nUsesRemaining = 0;
|
||||
m_bIsBlocking = false;
|
||||
m_vecInf = CModelInfo::GetModelInfo(m_nModelIndex)->GetColModel()->boundingBox.min;
|
||||
m_vecSup = CModelInfo::GetModelInfo(m_nModelIndex)->GetColModel()->boundingBox.max;
|
||||
m_vecInf = CModelInfo::GetColModel(m_nModelIndex)->boundingBox.min;
|
||||
m_vecSup = CModelInfo::GetColModel(m_nModelIndex)->boundingBox.max;
|
||||
m_fSize = Max(m_vecInf.Magnitude(), m_vecSup.Magnitude());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user