summaryrefslogtreecommitdiff
path: root/src/render/Skidmarks.cpp
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/render/Skidmarks.cpp
parent566282057abbc8e9d5f331c8125a38b00b39fee0 (diff)
GTA_VERSION define and some config.h cleanup
Diffstat (limited to 'src/render/Skidmarks.cpp')
-rw-r--r--src/render/Skidmarks.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Skidmarks.cpp b/src/render/Skidmarks.cpp
index ad036d58..9e509b52 100644
--- a/src/render/Skidmarks.cpp
+++ b/src/render/Skidmarks.cpp
@@ -54,15 +54,15 @@ void
CSkidmarks::Shutdown(void)
{
RwTextureDestroy(gpSkidTex);
-#ifdef GTA3_1_1_PATCH
+#if GTA_VERSION >= GTA3_PC_11
gpSkidTex = nil;
#endif
RwTextureDestroy(gpSkidBloodTex);
-#ifdef GTA3_1_1_PATCH
+#if GTA_VERSION >= GTA3_PC_11
gpSkidBloodTex = nil;
#endif
RwTextureDestroy(gpSkidMudTex);
-#ifdef GTA3_1_1_PATCH
+#if GTA_VERSION >= GTA3_PC_11
gpSkidMudTex = nil;
#endif
}