mirror of
https://github.com/halpz/re3.git
synced 2025-06-30 05:06:21 +00:00
fixing some uninitialized stuff
This commit is contained in:
@ -84,6 +84,10 @@ CPlane::CPlane(int32 id, uint8 CreatedBy)
|
||||
SetStatus(STATUS_PLANE);
|
||||
bIsBIGBuilding = true;
|
||||
m_level = LEVEL_NONE;
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
m_isFarAway = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
CPlane::~CPlane()
|
||||
|
@ -63,6 +63,10 @@ CTrain::CTrain(int32 id, uint8 CreatedBy)
|
||||
|
||||
bUsesCollision = true;
|
||||
SetStatus(STATUS_TRAIN_MOVING);
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
m_isFarAway = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -59,6 +59,9 @@ CVehicle::CVehicle(uint8 CreatedBy)
|
||||
bIsLawEnforcer = false;
|
||||
bIsAmbulanceOnDuty = false;
|
||||
bIsFireTruckOnDuty = false;
|
||||
#ifdef FIX_BUGS
|
||||
bIsHandbrakeOn = false;
|
||||
#endif
|
||||
CCarCtrl::UpdateCarCount(this, false);
|
||||
m_fHealth = 1000.0f;
|
||||
bEngineOn = true;
|
||||
|
Reference in New Issue
Block a user