summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-10-25 18:39:26 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commit8808e6fdfe5604022a64e72df3ee60d8ed10e9d6 (patch)
tree02a3e0e3dca2f3d52cb45017ad50d627ffec9841 /src/vehicles
parentAudio fixes from Serg (diff)
downloadre3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.gz
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.bz2
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.lz
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.xz
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.zst
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp2
-rw-r--r--src/vehicles/Vehicle.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index c0b3dd7c..12c9c940 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -55,7 +55,7 @@ CAutomobile::CAutomobile(int32 id, uint8 CreatedBy)
{
int i;
- m_vehType = VEHICLE_TYPE_AUTOMOBILE;
+ m_vehType = VEHICLE_TYPE_CAR;
CVehicleModelInfo *mi = (CVehicleModelInfo*)CModelInfo::GetModelInfo(id);
m_fFireBlowUpTimer = 0.0f;
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index 5c5b328e..3046a58f 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -230,7 +230,7 @@ public:
virtual float GetHeightAboveRoad(void);
virtual void PlayCarHorn(void) {}
- bool IsCar(void) { return m_vehType == VEHICLE_TYPE_AUTOMOBILE; }
+ bool IsCar(void) { return m_vehType == VEHICLE_TYPE_CAR; }
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; }