Merge pull request #135 from Nick007J/master

fixed policeDoesntCare
This commit is contained in:
Королев Николай Николаевич 2019-07-13 19:18:27 +03:00 committed by GitHub
commit 5c8ae5cfa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,6 +212,8 @@ CWanted::ReportCrimeNow(eCrimeType type, const CVector &coors, bool policeDoesnt
wantedLevelDrop = min(CCullZones::GetWantedLevelDrop(), 100);
chaos = (1.0f - wantedLevelDrop/100.0f) * sensitivity;
if (policeDoesntCare)
chaos *= 0.333f;
switch(type){
case CRIME_POSSESSION_GUN:
break;