1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 17:30:00 +00:00

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); wantedLevelDrop = min(CCullZones::GetWantedLevelDrop(), 100);
chaos = (1.0f - wantedLevelDrop/100.0f) * sensitivity; chaos = (1.0f - wantedLevelDrop/100.0f) * sensitivity;
if (policeDoesntCare)
chaos *= 0.333f;
switch(type){ switch(type){
case CRIME_POSSESSION_GUN: case CRIME_POSSESSION_GUN:
break; break;