summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-22 10:33:55 +0100
committerGitHub <noreply@github.com>2021-01-22 10:33:55 +0100
commit4acc9b08a2179ebf2a12e52759f7b4193c047533 (patch)
tree5adc99bd4296a54cc49354b291876603a72eed6e /src/vehicles/Boat.cpp
parentfuck (diff)
parentm_nWantedLevel -> GetWantedLevel() (diff)
downloadre3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar
re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.gz
re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.bz2
re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.lz
re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.xz
re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.tar.zst
re3-4acc9b08a2179ebf2a12e52759f7b4193c047533.zip
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r--src/vehicles/Boat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 0e978570..807b43b1 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -135,9 +135,9 @@ CBoat::ProcessControl(void)
m_fBuoyancy *= 0.99f;
#ifdef FIX_BUGS
- if(FindPlayerPed() && FindPlayerPed()->m_pWanted->m_nWantedLevel > 0 && GetModelIndex() == MI_PREDATOR){
+ if(FindPlayerPed() && FindPlayerPed()->m_pWanted->GetWantedLevel() > 0 && GetModelIndex() == MI_PREDATOR){
#else
- if(FindPlayerPed()->m_pWanted->m_nWantedLevel > 0 && GetModelIndex() == MI_PREDATOR){
+ if(FindPlayerPed()->m_pWanted->GetWantedLevel() > 0 && GetModelIndex() == MI_PREDATOR){
#endif
CVehicle *playerVeh = FindPlayerVehicle();
if(playerVeh && playerVeh->GetVehicleAppearance() == VEHICLE_APPEARANCE_BOAT &&