mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 04:24:10 +00:00
fix crash on exit
This commit is contained in:
parent
6075bf3fc2
commit
f5164f3804
2 changed files with 12 additions and 3 deletions
|
@ -904,9 +904,14 @@ void CParticle::Shutdown()
|
|||
{
|
||||
RwTextureDestroy(gpRainDripTex[i]);
|
||||
gpRainDripTex[i] = nil;
|
||||
|
||||
RwTextureDestroy(gpRainDripDarkTex[i]); // hmm, i think gpRainDripDarkTex[1(one)] can crash, let's wait for report hehe
|
||||
gpRainDripDarkTex[i] = nil;
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
if (gpRainDripDarkTex[i])
|
||||
#endif
|
||||
{
|
||||
RwTextureDestroy(gpRainDripDarkTex[i]);
|
||||
gpRainDripDarkTex[i] = nil;
|
||||
}
|
||||
}
|
||||
|
||||
RwTextureDestroy(gpBoatWakeTex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue