diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2019-09-24 13:33:16 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2019-10-26 13:05:00 +0200 |
commit | d2941b03689575fc0158683daae7883402a92651 (patch) | |
tree | b12477e0091c20c9dde90872919c4431e4e0195f /src/vehicles/Vehicle.h | |
parent | More work (diff) | |
download | re3-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 '')
-rw-r--r-- | src/vehicles/Vehicle.h | 6 |
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; |