summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-08 21:29:02 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-09 12:28:17 +0200
commitcb262c791e95a959f015e3231f61912024c88818 (patch)
tree2958e58b323eadc24b90f7f199a514082f866bb1 /src/vehicles/Vehicle.h
parentFix target sprite size (diff)
downloadre3-cb262c791e95a959f015e3231f61912024c88818.tar
re3-cb262c791e95a959f015e3231f61912024c88818.tar.gz
re3-cb262c791e95a959f015e3231f61912024c88818.tar.bz2
re3-cb262c791e95a959f015e3231f61912024c88818.tar.lz
re3-cb262c791e95a959f015e3231f61912024c88818.tar.xz
re3-cb262c791e95a959f015e3231f61912024c88818.tar.zst
re3-cb262c791e95a959f015e3231f61912024c88818.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Vehicle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index 4639f3e1..c7be3674 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -238,6 +238,7 @@ public:
bool IsTrain(void) { return m_vehType == VEHICLE_TYPE_TRAIN; }
bool IsHeli(void) { return m_vehType == VEHICLE_TYPE_HELI; }
bool IsPlane(void) { return m_vehType == VEHICLE_TYPE_PLANE; }
+ bool IsBike(void) { return m_vehType == VEHICLE_TYPE_BIKE; }
void FlyingControl(eFlightModel flightModel);
void ProcessWheel(CVector &wheelFwd, CVector &wheelRight, CVector &wheelContactSpeed, CVector &wheelContactPoint,