summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-09-26 20:10:23 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-09-26 20:10:23 +0200
commitf7d5021ac59026435165e97aba869a76cfef1059 (patch)
tree1a57b2e0491be1505f20f99aa38e84232619b53a /src/vehicles
parentFix coronas reflections (diff)
downloadre3-f7d5021ac59026435165e97aba869a76cfef1059.tar
re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.gz
re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.bz2
re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.lz
re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.xz
re3-f7d5021ac59026435165e97aba869a76cfef1059.tar.zst
re3-f7d5021ac59026435165e97aba869a76cfef1059.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Boat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 086a5002..1664ffd0 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -132,7 +132,11 @@ CBoat::ProcessControl(void)
if(bRenderScorched)
m_fBuoyancy *= 0.99f;
+#ifdef FIX_BUGS
+ if(FindPlayerPed() && FindPlayerPed()->m_pWanted->m_nWantedLevel > 0 && GetModelIndex() == MI_PREDATOR){
+#else
if(FindPlayerPed()->m_pWanted->m_nWantedLevel > 0 && GetModelIndex() == MI_PREDATOR){
+#endif
CVehicle *playerVeh = FindPlayerVehicle();
if(playerVeh && playerVeh->GetVehicleAppearance() == VEHICLE_APPEARANCE_BOAT &&
(AutoPilot.m_nCarMission == MISSION_RAMPLAYER_FARAWAY ||