From 1eb817de7713ea95bbbcbd7543ffce61ced8ffec Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Tue, 5 May 2020 18:32:46 +0300 Subject: Remove GTA_TRAIN, GTA_BRIDGE, GTA_ZONECULL --- src/peds/CopPed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/peds/CopPed.cpp') 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; -- cgit v1.2.3