diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-20 13:34:11 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-20 13:34:11 +0200 |
commit | 9c40489589d58093ec73cc039780a0d5b66c3207 (patch) | |
tree | 8291f971a288f8fbe228f74bb3b9869b5824064f /src/vehicles/Boat.cpp | |
parent | CAutomobile done (diff) | |
parent | Audio refactoring: (diff) | |
download | re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.gz re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.bz2 re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.lz re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.xz re3-9c40489589d58093ec73cc039780a0d5b66c3207.tar.zst re3-9c40489589d58093ec73cc039780a0d5b66c3207.zip |
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r-- | src/vehicles/Boat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp index a3aec041..416f2aa0 100644 --- a/src/vehicles/Boat.cpp +++ b/src/vehicles/Boat.cpp @@ -135,7 +135,7 @@ CBoat::ProcessControl(void) m_fBuoyancy *= 0.99f; #ifdef FIX_BUGS - if(FindPlayerPed() && FindPlayerPed()->m_pWanted->GetWantedLevel() > 0 && GetModelIndex() == MI_PREDATOR){ + if(FindPlayerPed() && FindPlayerPed()->m_pWanted->GetWantedLevel() > 0 && GetModelIndex() == MI_PREDATOR && pDriver && IsPolicePedModel(pDriver->GetModelIndex())) { #else if(FindPlayerPed()->m_pWanted->GetWantedLevel() > 0 && GetModelIndex() == MI_PREDATOR){ #endif |