summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Heli.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-22 10:34:01 +0100
committerGitHub <noreply@github.com>2021-01-22 10:34:01 +0100
commitd77846bb16911db3d2ebffd6ec6425fcaf3463d1 (patch)
treee0c2952a6d863b7cde0f46aca121c37ed39f8696 /src/vehicles/Heli.cpp
parentfree cam fixes (diff)
parentm_nWantedLevel -> GetWantedLevel() (diff)
downloadre3-d77846bb16911db3d2ebffd6ec6425fcaf3463d1.tar
re3-d77846bb16911db3d2ebffd6ec6425fcaf3463d1.tar.gz
re3-d77846bb16911db3d2ebffd6ec6425fcaf3463d1.tar.bz2
re3-d77846bb16911db3d2ebffd6ec6425fcaf3463d1.tar.lz
re3-d77846bb16911db3d2ebffd6ec6425fcaf3463d1.tar.xz
re3-d77846bb16911db3d2ebffd6ec6425fcaf3463d1.tar.zst
re3-d77846bb16911db3d2ebffd6ec6425fcaf3463d1.zip
Diffstat (limited to 'src/vehicles/Heli.cpp')
-rw-r--r--src/vehicles/Heli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Heli.cpp b/src/vehicles/Heli.cpp
index 44e9a73f..98e1f5fa 100644
--- a/src/vehicles/Heli.cpp
+++ b/src/vehicles/Heli.cpp
@@ -474,7 +474,7 @@ CHeli::ProcessControl(void)
// Shoot
int shootTimeout;
if (m_heliType == HELI_TYPE_RANDOM) {
- switch (FindPlayerPed()->m_pWanted->m_nWantedLevel) {
+ switch (FindPlayerPed()->m_pWanted->GetWantedLevel()) {
case 0:
case 1:
case 2: shootTimeout = 999999; break;