diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-19 17:38:10 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-19 17:38:10 +0300 |
commit | 9e65eb34ec834de082154ee7559cd1c418f02ae6 (patch) | |
tree | c0c12ec094feb67e7ad98c5e8d48440b37035421 /src/render/Rubbish.cpp | |
parent | bcc3a8b6c76ef5851af350ef4d839ef44d473f56 (diff) |
1.1 patch stuff
Diffstat (limited to 'src/render/Rubbish.cpp')
-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 } |