summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-17 10:00:41 +0100
committeraap <aap@papnet.eu>2021-01-17 10:00:41 +0100
commit913a001375771a0e837e25d148d173abafdf3290 (patch)
tree6ae9300d5363cd9654531ebd57b351587b975dbe /src/core
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-913a001375771a0e837e25d148d173abafdf3290.tar
re3-913a001375771a0e837e25d148d173abafdf3290.tar.gz
re3-913a001375771a0e837e25d148d173abafdf3290.tar.bz2
re3-913a001375771a0e837e25d148d173abafdf3290.tar.lz
re3-913a001375771a0e837e25d148d173abafdf3290.tar.xz
re3-913a001375771a0e837e25d148d173abafdf3290.tar.zst
re3-913a001375771a0e837e25d148d173abafdf3290.zip
Diffstat (limited to '')
-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 feda19c6..23c2f896 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -151,7 +151,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);