mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 23:29:59 +00:00
Fix a bunch of CModelInfo::GetModelInfo->GetColModel calls
This commit is contained in:
parent
8ea411e4c5
commit
1f98f01dcb
11 changed files with 24 additions and 24 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue