1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-06-28 23:48:39 +00:00

fixed wanted

This commit is contained in:
Nikolay Korolev 2019-07-28 13:35:24 +03:00
parent 6ff6305be9
commit 128d31746d

View file

@ -275,6 +275,9 @@ CWanted::UpdateWantedLevel()
{ {
int32 CurrWantedLevel = m_nWantedLevel; int32 CurrWantedLevel = m_nWantedLevel;
if (m_nChaos > nMaximumWantedLevel)
m_nChaos = nMaximumWantedLevel;
if (m_nChaos >= 0 && m_nChaos < 40) { if (m_nChaos >= 0 && m_nChaos < 40) {
m_nWantedLevel = 0; m_nWantedLevel = 0;
m_MaximumLawEnforcerVehicles = 0; m_MaximumLawEnforcerVehicles = 0;