diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-19 16:38:10 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-19 16:38:10 +0200 |
commit | 9e65eb34ec834de082154ee7559cd1c418f02ae6 (patch) | |
tree | c0c12ec094feb67e7ad98c5e8d48440b37035421 /src/render/Rubbish.cpp | |
parent | missing ifded (diff) | |
download | re3-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 '')
-rw-r--r-- | src/render/Rubbish.cpp | 12 |
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 } |