summaryrefslogtreecommitdiffstats
path: root/src/render/Clouds.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-26 23:53:54 +0200
committerGitHub <noreply@github.com>2020-04-26 23:53:54 +0200
commit68bf2398689a1de168dce41d31ad2070ce32f70a (patch)
tree9de92b6123fb2b7e219768b5b6e5c11b2ac0b75a /src/render/Clouds.cpp
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar
re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.gz
re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.bz2
re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.lz
re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.xz
re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.zst
re3-68bf2398689a1de168dce41d31ad2070ce32f70a.zip
Diffstat (limited to '')
-rw-r--r--src/render/Clouds.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/render/Clouds.cpp b/src/render/Clouds.cpp
index cb08a997..07688491 100644
--- a/src/render/Clouds.cpp
+++ b/src/render/Clouds.cpp
@@ -44,10 +44,25 @@ void
CClouds::Shutdown(void)
{
RwTextureDestroy(gpCloudTex[0]);
+#ifdef GTA3_1_1_PATCH
+ gpCloudTex[0] = nil;
+#endif
RwTextureDestroy(gpCloudTex[1]);
+#ifdef GTA3_1_1_PATCH
+ gpCloudTex[1] = nil;
+#endif
RwTextureDestroy(gpCloudTex[2]);
+#ifdef GTA3_1_1_PATCH
+ gpCloudTex[2] = nil;
+#endif
RwTextureDestroy(gpCloudTex[3]);
+#ifdef GTA3_1_1_PATCH
+ gpCloudTex[3] = nil;
+#endif
RwTextureDestroy(gpCloudTex[4]);
+#ifdef GTA3_1_1_PATCH
+ gpCloudTex[4] = nil;
+#endif
}
void