summaryrefslogtreecommitdiffstats
path: root/src/render/Skidmarks.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-19 16:38:10 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-19 16:38:10 +0200
commit9e65eb34ec834de082154ee7559cd1c418f02ae6 (patch)
treec0c12ec094feb67e7ad98c5e8d48440b37035421 /src/render/Skidmarks.cpp
parentmissing ifded (diff)
downloadre3-9e65eb34ec834de082154ee7559cd1c418f02ae6.tar
re3-9e65eb34ec834de082154ee7559cd1c418f02ae6.tar.gz
re3-9e65eb34ec834de082154ee7559cd1c418f02ae6.tar.bz2
re3-9e65eb34ec834de082154ee7559cd1c418f02ae6.tar.lz
re3-9e65eb34ec834de082154ee7559cd1c418f02ae6.tar.xz
re3-9e65eb34ec834de082154ee7559cd1c418f02ae6.tar.zst
re3-9e65eb34ec834de082154ee7559cd1c418f02ae6.zip
Diffstat (limited to 'src/render/Skidmarks.cpp')
-rw-r--r--src/render/Skidmarks.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/render/Skidmarks.cpp b/src/render/Skidmarks.cpp
index f3479536..5d521041 100644
--- a/src/render/Skidmarks.cpp
+++ b/src/render/Skidmarks.cpp
@@ -54,8 +54,17 @@ void
CSkidmarks::Shutdown(void)
{
RwTextureDestroy(gpSkidTex);
+#ifdef GTA3_1_1_PATCH
+ gpSkidTex = nil;
+#endif
RwTextureDestroy(gpSkidBloodTex);
+#ifdef GTA3_1_1_PATCH
+ gpSkidBloodTex = nil;
+#endif
RwTextureDestroy(gpSkidMudTex);
+#ifdef GTA3_1_1_PATCH
+ gpSkidMudTex = nil;
+#endif
}
void