diff options
author | aap <aap@papnet.eu> | 2019-08-04 00:31:00 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-08-04 00:31:00 +0200 |
commit | a3e3527a3b8f260db285c76dc1044baab8a2f773 (patch) | |
tree | 17869d4d50729e13497f7769679bdec0fef0a069 /src/core/Wanted.h | |
parent | Merge pull request #181 from Nick007J/master (diff) | |
download | re3-a3e3527a3b8f260db285c76dc1044baab8a2f773.tar re3-a3e3527a3b8f260db285c76dc1044baab8a2f773.tar.gz re3-a3e3527a3b8f260db285c76dc1044baab8a2f773.tar.bz2 re3-a3e3527a3b8f260db285c76dc1044baab8a2f773.tar.lz re3-a3e3527a3b8f260db285c76dc1044baab8a2f773.tar.xz re3-a3e3527a3b8f260db285c76dc1044baab8a2f773.tar.zst re3-a3e3527a3b8f260db285c76dc1044baab8a2f773.zip |
Diffstat (limited to 'src/core/Wanted.h')
-rw-r--r-- | src/core/Wanted.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Wanted.h b/src/core/Wanted.h index 7cd89b7e..34a4b58d 100644 --- a/src/core/Wanted.h +++ b/src/core/Wanted.h @@ -77,6 +77,8 @@ public: void ReportCrimeNow(eCrimeType type, const CVector &coors, bool policeDoesntCare); void UpdateWantedLevel(); + bool IsIgnored(void) { return m_bIgnoredByCops || m_bIgnoredByEveryone; } + static int32 WorkOutPolicePresence(CVector posn, float radius); static void SetMaximumWantedLevel(int32 level); }; |