1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 04:30:00 +00:00
This commit is contained in:
Sergeanur 2020-11-01 12:30:23 +02:00
parent f21cfef8fb
commit 1f5a6dab67
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ CAutomobile::CAutomobile(int32 id, uint8 CreatedBy)
bBigWheels = false; bBigWheels = false;
bWaterTight = false; bWaterTight = false;
CAutomobile::SetModelIndex(id); SetModelIndex(id);
pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)mi->m_handlingId); pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)mi->m_handlingId);

View file

@ -48,7 +48,7 @@ CBoat::CBoat(int mi, uint8 owner) : CVehicle(owner)
m_fSteeringLeftRight = 0.0f; m_fSteeringLeftRight = 0.0f;
m_nPadID = 0; m_nPadID = 0;
m_fMovingRotation = 0.0f; m_fMovingRotation = 0.0f;
CBoat::SetModelIndex(mi); SetModelIndex(mi);
pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)minfo->m_handlingId); pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)minfo->m_handlingId);
minfo->ChooseVehicleColour(m_currentColour1, m_currentColour2); minfo->ChooseVehicleColour(m_currentColour1, m_currentColour2);

View file

@ -44,7 +44,7 @@ CTrain::CTrain(int32 id, uint8 CreatedBy)
CVehicleModelInfo *mi = (CVehicleModelInfo*)CModelInfo::GetModelInfo(id); CVehicleModelInfo *mi = (CVehicleModelInfo*)CModelInfo::GetModelInfo(id);
m_vehType = VEHICLE_TYPE_TRAIN; m_vehType = VEHICLE_TYPE_TRAIN;
pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)mi->m_handlingId); pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)mi->m_handlingId);
CTrain::SetModelIndex(id); SetModelIndex(id);
Doors[0].Init(0.8f, 0.0f, 1, 0); Doors[0].Init(0.8f, 0.0f, 1, 0);
Doors[1].Init(-0.8f, 0.0f, 0, 0); Doors[1].Init(-0.8f, 0.0f, 0, 0);