summaryrefslogtreecommitdiff
path: root/src/peds
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-29 12:26:34 +0100
committeraap <aap@papnet.eu>2020-11-29 21:29:48 +0100
commitd5bc382cb51c5ef5af618377d190e6f34e893314 (patch)
treef3d376094b50e4cdbfe4b65afef37aab1ccde9a6 /src/peds
parent566282057abbc8e9d5f331c8125a38b00b39fee0 (diff)
GTA_VERSION define and some config.h cleanup
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/CopPed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/CopPed.cpp b/src/peds/CopPed.cpp
index f289697e..d9f55559 100644
--- a/src/peds/CopPed.cpp
+++ b/src/peds/CopPed.cpp
@@ -667,7 +667,7 @@ CCopPed::ProcessControl(void)
}
if (bDuckAndCover) {
-#if !defined(GTA3_1_1_PATCH) && !defined(VC_PED_PORTS)
+#if GTA_VERSION < GTA3_PC_11 && !defined(VC_PED_PORTS)
if (!bNotAllowedToDuck && Seek()) {
SetMoveState(PEDMOVE_STILL);
SetMoveAnim();