cVehicleParams ctor

This commit is contained in:
Sergeanur
2020-12-25 20:22:43 +02:00
parent 7a7061ea92
commit 2b96be0418
2 changed files with 13 additions and 4 deletions

View File

@ -150,6 +150,16 @@ public:
cTransmission *m_pTransmission;
int32 m_nIndex;
float m_fVelocityChange;
cVehicleParams()
{
m_bDistanceCalculated = false;
m_fDistance = 0.0f;
m_pVehicle = 0;
m_pTransmission = nil;
m_nIndex = 0;
m_fVelocityChange = 0.0f;
}
};
VALIDATE_SIZE(cVehicleParams, 0x18);