summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.h
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-09-24 13:33:16 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commitd2941b03689575fc0158683daae7883402a92651 (patch)
treeb12477e0091c20c9dde90872919c4431e4e0195f /src/vehicles/Vehicle.h
parentMore work (diff)
downloadre3-d2941b03689575fc0158683daae7883402a92651.tar
re3-d2941b03689575fc0158683daae7883402a92651.tar.gz
re3-d2941b03689575fc0158683daae7883402a92651.tar.bz2
re3-d2941b03689575fc0158683daae7883402a92651.tar.lz
re3-d2941b03689575fc0158683daae7883402a92651.tar.xz
re3-d2941b03689575fc0158683daae7883402a92651.tar.zst
re3-d2941b03689575fc0158683daae7883402a92651.zip
Diffstat (limited to 'src/vehicles/Vehicle.h')
-rw-r--r--src/vehicles/Vehicle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index a30f9842..5c5b328e 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -191,7 +191,7 @@ public:
uint8 m_bRainAudioCounter;
uint8 m_bRainSamplesCounter;
uint8 m_nCarHornTimer;
- int8 field_22D;
+ int8 field_22D; // last horn?
bool m_bSirenOrAlarm;
int8 m_comedyControlState;
CStoredCollPoly m_aCollPolys[2]; // poly which is under front/rear part of car
@@ -230,7 +230,7 @@ public:
virtual float GetHeightAboveRoad(void);
virtual void PlayCarHorn(void) {}
- bool IsCar(void) { return m_vehType == VEHICLE_TYPE_CAR; }
+ bool IsCar(void) { return m_vehType == VEHICLE_TYPE_AUTOMOBILE; }
bool IsBoat(void) { return m_vehType == VEHICLE_TYPE_BOAT; }
bool IsTrain(void) { return m_vehType == VEHICLE_TYPE_TRAIN; }
bool IsHeli(void) { return m_vehType == VEHICLE_TYPE_HELI; }
@@ -286,7 +286,7 @@ class cTransmission;
class cVehicleParams
{
public:
- char m_bDistanceCalculated;
+ uint8 m_bDistancECalculated;
char gap_1[3];
float m_fDistance;
CVehicle *m_pVehicle;