summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-06 12:31:09 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-06 12:31:09 +0200
commit3f26250d73d5c196a66262821a7980ccdbd8deed (patch)
tree6dde51e7159bee42448d95fca35edc8e0be92561 /src/vehicles
parentfixed linux saving (diff)
downloadre3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.gz
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.bz2
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.lz
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.xz
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.tar.zst
re3-3f26250d73d5c196a66262821a7980ccdbd8deed.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Plane.cpp4
-rw-r--r--src/vehicles/Train.cpp4
-rw-r--r--src/vehicles/Vehicle.cpp3
3 files changed, 11 insertions, 0 deletions
diff --git a/src/vehicles/Plane.cpp b/src/vehicles/Plane.cpp
index 71189d84..3bf385a0 100644
--- a/src/vehicles/Plane.cpp
+++ b/src/vehicles/Plane.cpp
@@ -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()
diff --git a/src/vehicles/Train.cpp b/src/vehicles/Train.cpp
index 38bb1300..baf6bfb7 100644
--- a/src/vehicles/Train.cpp
+++ b/src/vehicles/Train.cpp
@@ -63,6 +63,10 @@ CTrain::CTrain(int32 id, uint8 CreatedBy)
bUsesCollision = true;
SetStatus(STATUS_TRAIN_MOVING);
+
+#ifdef FIX_BUGS
+ m_isFarAway = true;
+#endif
}
void
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index dbb15b5d..addbfc3d 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -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;