summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-20 18:32:03 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-20 18:32:03 +0100
commitcc94419a7281fde133a5dc17c46cc62ae061a58c (patch)
tree300a1e3c7d68e1fe32a3ba4491608bf18a1435b2 /src/core/Pad.cpp
parentfree cam inversion fix (diff)
parentGet rid of bitfields in CPool (diff)
downloadre3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.gz
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.bz2
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.lz
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.xz
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.zst
re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.zip
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index 1e4f48f4..2548e70d 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -153,7 +153,7 @@ void PickUpChicksCheat()
if ( FindPlayerVehicle() && (FindPlayerVehicle()->IsCar() || FindPlayerVehicle()->IsBike()) )
{
CVehicle *vehicle = FindPlayerVehicle();
- if ( FindPlayerVehicle()->m_vehType == 5 )
+ if ( FindPlayerVehicle()->IsBike() )
{
if ( vehicle->pPassengers[0] )
vehicle->pPassengers[0]->SetObjective(OBJECTIVE_LEAVE_CAR, vehicle);