summaryrefslogtreecommitdiffstats
path: root/src/peds/CopPed.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-07-04 14:24:54 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-07-04 14:24:54 +0200
commit62425b586631f95d67f2c9ba8c9a4f202e03bda4 (patch)
tree418a28a718cfe01cc0b8a224e0c1bab6a75de26a /src/peds/CopPed.cpp
parentMerge remote-tracking branch 'upstream/lcs' into lcs (diff)
parentMerge branch 'miami' into lcs (diff)
downloadre3-62425b586631f95d67f2c9ba8c9a4f202e03bda4.tar
re3-62425b586631f95d67f2c9ba8c9a4f202e03bda4.tar.gz
re3-62425b586631f95d67f2c9ba8c9a4f202e03bda4.tar.bz2
re3-62425b586631f95d67f2c9ba8c9a4f202e03bda4.tar.lz
re3-62425b586631f95d67f2c9ba8c9a4f202e03bda4.tar.xz
re3-62425b586631f95d67f2c9ba8c9a4f202e03bda4.tar.zst
re3-62425b586631f95d67f2c9ba8c9a4f202e03bda4.zip
Diffstat (limited to 'src/peds/CopPed.cpp')
-rw-r--r--src/peds/CopPed.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/peds/CopPed.cpp b/src/peds/CopPed.cpp
index fbfa7249..1efd7733 100644
--- a/src/peds/CopPed.cpp
+++ b/src/peds/CopPed.cpp
@@ -644,9 +644,6 @@ CCopPed::ProcessControl(void)
int numCopsNear = 0;
for (int i = 0; i < player->m_numNearPeds; ++i) {
CPed *nearPed = player->m_nearPeds[i];
-#ifdef FIX_BUGS
- if (nearPed)
-#endif
if (nearPed->m_nPedType == PEDTYPE_COP && nearPed->m_nPedState != PED_DEAD)
++numCopsNear;
}