diff options
author | aap <aap@papnet.eu> | 2020-05-06 09:24:18 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-06 09:24:18 +0200 |
commit | 8e84728f41aef0c01f0a7eaf2e074ee876712861 (patch) | |
tree | 85484924e37a3afb3c4524cb89f72672a9b86d88 /src/peds/CopPed.cpp | |
parent | updated librw (diff) | |
parent | Remove audio from premake (diff) | |
download | re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.gz re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.bz2 re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.lz re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.xz re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.zst re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/CopPed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/CopPed.cpp b/src/peds/CopPed.cpp index 72c89df2..99e8c1ae 100644 --- a/src/peds/CopPed.cpp +++ b/src/peds/CopPed.cpp @@ -709,7 +709,7 @@ CCopPed::ProcessControl(void) return; bool dontShoot = false; - if (GetIsOnScreenAndNotCulled()) { + if (GetIsOnScreen() && CRenderer::IsEntityCullZoneVisible(this)) { if (((CTimer::GetFrameCounter() + m_randomSeed) & 0x1F) == 17) { CEntity *foundBuilding = nil; CColPoint foundCol; |