summaryrefslogtreecommitdiffstats
path: root/src/render/Rubbish.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/render/Rubbish.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/render/Rubbish.cpp b/src/render/Rubbish.cpp
index 31110046..8a0b80e8 100644
--- a/src/render/Rubbish.cpp
+++ b/src/render/Rubbish.cpp
@@ -414,7 +414,19 @@ void
CRubbish::Shutdown(void)
{
RwTextureDestroy(gpRubbishTexture[0]);
+#ifdef GTA3_1_1_PATCH
+ gpRubbishTexture[0] = nil;
+#endif
RwTextureDestroy(gpRubbishTexture[1]);
+#ifdef GTA3_1_1_PATCH
+ gpRubbishTexture[1] = nil;
+#endif
RwTextureDestroy(gpRubbishTexture[2]);
+#ifdef GTA3_1_1_PATCH
+ gpRubbishTexture[2] = nil;
+#endif
RwTextureDestroy(gpRubbishTexture[3]);
+#ifdef GTA3_1_1_PATCH
+ gpRubbishTexture[3] = nil;
+#endif
}