m_nWantedLevel -> GetWantedLevel()
This commit is contained in:
@@ -452,7 +452,7 @@ void CGarage::Update()
|
||||
m_eGarageState = GS_OPENING;
|
||||
DMAudio.PlayFrontEndSound(SOUND_GARAGE_OPENING, 1);
|
||||
bool bTakeMoney = false;
|
||||
if (FindPlayerPed()->m_pWanted->m_nWantedLevel != 0) {
|
||||
if (FindPlayerPed()->m_pWanted->GetWantedLevel() != 0) {
|
||||
bTakeMoney = true;
|
||||
FindPlayerPed()->m_pWanted->Suspend();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user