m_nWantedLevel -> GetWantedLevel()

This commit is contained in:
withmorten
2021-01-22 00:20:51 +01:00
parent 1999427225
commit d1317f8fa6
25 changed files with 77 additions and 77 deletions

View File

@@ -480,7 +480,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;