mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 16:39:58 +00:00
First batch of fixes (CallAndMessage)
This commit is contained in:
parent
5de4e88d7a
commit
7a3b80a9b7
15 changed files with 139 additions and 49 deletions
|
@ -100,7 +100,12 @@ void CCarGenerator::DoInternalProcessing()
|
|||
// So game crashes if it's bike :D
|
||||
if (((CVehicleModelInfo*)CModelInfo::GetModelInfo(m_nModelIndex))->m_vehicleType != VEHICLE_TYPE_BIKE)
|
||||
pCar = new CAutomobile(m_nModelIndex, PARKED_VEHICLE);
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
else {
|
||||
debug("This shouldn't happen");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
pCar->SetIsStatic(false);
|
||||
pCar->bEngineOn = false;
|
||||
pos.z += pCar->GetDistanceFromCentreOfMassToBaseOfModel();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue