mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-05 10:04:09 +00:00
Make CBaseModelInfo fields protected
This commit is contained in:
parent
e9b334d7bf
commit
4cc1bb92e7
14 changed files with 62 additions and 63 deletions
|
@ -8074,7 +8074,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
|
|||
continue;
|
||||
// desperatly want to believe this was inlined :|
|
||||
CBaseModelInfo* pInfo = CModelInfo::GetModelInfo(model);
|
||||
assert(pInfo->m_type == MITYPE_VEHICLE);
|
||||
assert(pInfo->GetModelType() == MITYPE_VEHICLE);
|
||||
CVehicleModelInfo* pVehicleInfo = (CVehicleModelInfo*)pInfo;
|
||||
if (pVehicleInfo->m_vehicleType != VEHICLE_TYPE_CAR) {
|
||||
switch (model) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue