From 60711154baf5477d6f4c12add1ecdd0a24c0c116 Mon Sep 17 00:00:00 2001 From: aap Date: Fri, 12 Jul 2019 18:01:22 +0200 Subject: more CWanted; added CEventList --- src/control/Darkel.cpp | 2 +- src/control/Script.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/control') diff --git a/src/control/Darkel.cpp b/src/control/Darkel.cpp index ab28f96e..678fcd45 100644 --- a/src/control/Darkel.cpp +++ b/src/control/Darkel.cpp @@ -300,7 +300,7 @@ void CDarkel::Update() TimeOfFrenzyStart = CTimer::GetTimeInMilliseconds(); - FindPlayerPed()->m_pWanted->SetWantedLevel(NOTWANTED); + FindPlayerPed()->m_pWanted->SetWantedLevel(0); if (WeaponType == WEAPONTYPE_UZI_DRIVEBY) WeaponType = WEAPONTYPE_UZI; diff --git a/src/control/Script.cpp b/src/control/Script.cpp index b50c101e..f3a18195 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -124,8 +124,8 @@ void CMissionCleanup::Process() CHud::m_ItemToFlash = -1; CHud::SetHelpMessage(nil, false); CUserDisplay::OnscnTimer.m_bDisabled = false; - CWorld::Players[0].m_pPed->m_pWanted->m_IsIgnoredByCops = false; - CWorld::Players[0].m_pPed->m_pWanted->m_IsIgnoredByEveryOne = false; + CWorld::Players[0].m_pPed->m_pWanted->m_bIgnoredByCops = false; + CWorld::Players[0].m_pPed->m_pWanted->m_bIgnoredByEveryone = false; CWorld::Players[0].MakePlayerSafe(false); CTheScripts::StoreVehicleIndex = -1; CTheScripts::StoreVehicleWasRandom = true; -- cgit v1.2.3