summaryrefslogtreecommitdiffstats
path: root/src/Wanted.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-07 13:09:11 +0200
committeraap <aap@papnet.eu>2019-07-07 13:09:11 +0200
commit53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb (patch)
treefc65a6c40fa719f9d43be9e0e15be79c490135e0 /src/Wanted.cpp
parentfinished CPhysical (diff)
downloadre3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.gz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.bz2
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.lz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.xz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.zst
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.zip
Diffstat (limited to 'src/Wanted.cpp')
-rw-r--r--src/Wanted.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/Wanted.cpp b/src/Wanted.cpp
deleted file mode 100644
index ece68e64..00000000
--- a/src/Wanted.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-#include "common.h"
-#include "patcher.h"
-#include "Wanted.h"
-
-bool CWanted::AreSwatRequired()
-{
- return m_nWantedLevel >= 4;
-}
-
-bool CWanted::AreFbiRequired()
-{
- return m_nWantedLevel >= 5;
-}
-
-bool CWanted::AreArmyRequired()
-{
- return m_nWantedLevel >= 6;
-}
-
-int CWanted::NumOfHelisRequired()
-{
- if (m_IsIgnoredByCops)
- return 0;
-
- // Return value is number of helicopters, no need to name them.
- switch (m_nWantedLevel) {
- case WANTEDLEVEL_3:
- case WANTEDLEVEL_4:
- return 1;
- case WANTEDLEVEL_5:
- case WANTEDLEVEL_6:
- return 2;
- default:
- return 0;
- };
-} \ No newline at end of file