diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-26 23:53:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 23:53:54 +0200 |
commit | 68bf2398689a1de168dce41d31ad2070ce32f70a (patch) | |
tree | 9de92b6123fb2b7e219768b5b6e5c11b2ac0b75a /src/render/Skidmarks.cpp | |
parent | Merge branch 'master' of github.com:gtamodding/re3 (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.gz re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.bz2 re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.lz re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.xz re3-68bf2398689a1de168dce41d31ad2070ce32f70a.tar.zst re3-68bf2398689a1de168dce41d31ad2070ce32f70a.zip |
Diffstat (limited to 'src/render/Skidmarks.cpp')
-rw-r--r-- | src/render/Skidmarks.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/render/Skidmarks.cpp b/src/render/Skidmarks.cpp index f3479536..5d521041 100644 --- a/src/render/Skidmarks.cpp +++ b/src/render/Skidmarks.cpp @@ -54,8 +54,17 @@ void CSkidmarks::Shutdown(void) { RwTextureDestroy(gpSkidTex); +#ifdef GTA3_1_1_PATCH + gpSkidTex = nil; +#endif RwTextureDestroy(gpSkidBloodTex); +#ifdef GTA3_1_1_PATCH + gpSkidBloodTex = nil; +#endif RwTextureDestroy(gpSkidMudTex); +#ifdef GTA3_1_1_PATCH + gpSkidMudTex = nil; +#endif } void |