summaryrefslogtreecommitdiffstats
path: root/src/render/Skidmarks.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-30 18:27:46 +0100
committerGitHub <noreply@github.com>2020-11-30 18:27:46 +0100
commit356a32eb0954f8f924a4817c7b67d79f80611718 (patch)
treef3d376094b50e4cdbfe4b65afef37aab1ccde9a6 /src/render/Skidmarks.cpp
parentadd debug script hotkey (diff)
parentGTA_VERSION define and some config.h cleanup (diff)
downloadre3-356a32eb0954f8f924a4817c7b67d79f80611718.tar
re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.gz
re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.bz2
re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.lz
re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.xz
re3-356a32eb0954f8f924a4817c7b67d79f80611718.tar.zst
re3-356a32eb0954f8f924a4817c7b67d79f80611718.zip
Diffstat (limited to '')
-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
}