diff options
author | withmorten <morten.with@gmail.com> | 2021-01-22 00:20:51 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-01-22 00:20:51 +0100 |
commit | d1317f8fa649120f841f8c1f8bcf17b3ee74c235 (patch) | |
tree | 5adc99bd4296a54cc49354b291876603a72eed6e /src/peds/Population.cpp | |
parent | fuck (diff) | |
download | re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.gz re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.bz2 re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.lz re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.xz re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.tar.zst re3-d1317f8fa649120f841f8c1f8bcf17b3ee74c235.zip |
Diffstat (limited to 'src/peds/Population.cpp')
-rw-r--r-- | src/peds/Population.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp index f886597f..b1943358 100644 --- a/src/peds/Population.cpp +++ b/src/peds/Population.cpp @@ -537,7 +537,7 @@ CPopulation::AddToPopulation(float minDist, float maxDist, float minDistOffScree CTheZones::GetZoneInfoForTimeOfDay(&playerCentreOfWorld, &zoneInfo); CWanted *wantedInfo = playerInfo->m_pPed->m_pWanted; - if (wantedInfo->m_nWantedLevel > 2) { + if (wantedInfo->GetWantedLevel() > 2) { if (!CGame::IsInInterior() && (CGeneral::GetRandomNumber() % 32 == 0) && FindPlayerVehicle()) forceAddingCop = true; |