From d1317f8fa649120f841f8c1f8bcf17b3ee74c235 Mon Sep 17 00:00:00 2001 From: withmorten Date: Fri, 22 Jan 2021 00:20:51 +0100 Subject: m_nWantedLevel -> GetWantedLevel() --- src/peds/PlayerPed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/peds/PlayerPed.cpp') diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp index f07d1ac7..b66c1854 100644 --- a/src/peds/PlayerPed.cpp +++ b/src/peds/PlayerPed.cpp @@ -1654,7 +1654,7 @@ CPlayerPed::ProcessControl(void) if (m_nEvadeAmount == 0) m_pEvadingFrom = nil; - if (m_pWanted->m_nWantedLevel > 0) + if (m_pWanted->GetWantedLevel() > 0) FindNewAttackPoints(); UpdateMeleeAttackers(); -- cgit v1.2.3