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/modelinfo | |
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/modelinfo')
-rw-r--r-- | src/modelinfo/VehicleModelInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp index 0c3a7720..098400cc 100644 --- a/src/modelinfo/VehicleModelInfo.cpp +++ b/src/modelinfo/VehicleModelInfo.cpp @@ -960,7 +960,9 @@ CVehicleModelInfo::DeleteVehicleColourTextures(void) for(i = 0; i < 256; i++){ if(ms_colourTextureTable[i]){ RwTextureDestroy(ms_colourTextureTable[i]); +#ifdef GTA3_1_1_PATCH ms_colourTextureTable[i] = nil; +#endif } } } |