diff options
author | aap <aap@papnet.eu> | 2020-04-26 23:54:48 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-26 23:54:48 +0200 |
commit | a069aa57dba36603b44ae282765fd8352ddd3a3d (patch) | |
tree | c487cfb3053bced222fda2fa1fcf45cb501f5242 /src/render/Rubbish.cpp | |
parent | librw update (diff) | |
parent | Merge pull request #489 from Nick007J/master (diff) | |
download | re3-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 '')
-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 d21dd558..bfd50c07 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 } |