mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 07:09:58 +00:00
fixing some uninitialized stuff
This commit is contained in:
parent
408f47fc9d
commit
3f26250d73
8 changed files with 31 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue