summaryrefslogtreecommitdiffstats
path: root/src/render/Clouds.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-26 23:54:48 +0200
committeraap <aap@papnet.eu>2020-04-26 23:54:48 +0200
commita069aa57dba36603b44ae282765fd8352ddd3a3d (patch)
treec487cfb3053bced222fda2fa1fcf45cb501f5242 /src/render/Clouds.cpp
parentlibrw update (diff)
parentMerge pull request #489 from Nick007J/master (diff)
downloadre3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar
re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.gz
re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.bz2
re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.lz
re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.xz
re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.tar.zst
re3-a069aa57dba36603b44ae282765fd8352ddd3a3d.zip
Diffstat (limited to 'src/render/Clouds.cpp')
-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