1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 16:30:01 +00:00

cPedParams ctor

This commit is contained in:
Sergeanur 2020-12-26 07:53:30 +02:00
parent 18bea3cfa5
commit 441b3864f3

View file

@ -144,6 +144,13 @@ public:
bool m_bDistanceCalculated; bool m_bDistanceCalculated;
float m_fDistance; float m_fDistance;
CPed *m_pPed; CPed *m_pPed;
cPedParams()
{
m_bDistanceCalculated = false;
m_fDistance = 0.0f;
m_pPed = nil;
}
}; };
class cVehicleParams class cVehicleParams
@ -162,7 +169,7 @@ public:
m_VehicleType = -1; m_VehicleType = -1;
m_bDistanceCalculated = false; m_bDistanceCalculated = false;
m_fDistance = 0.0f; m_fDistance = 0.0f;
m_pVehicle = 0; m_pVehicle = nil;
m_pTransmission = nil; m_pTransmission = nil;
m_nIndex = 0; m_nIndex = 0;
m_fVelocityChange = 0.0f; m_fVelocityChange = 0.0f;