mirror of
https://github.com/halpz/re3.git
synced 2025-07-26 12:22:46 +00:00
fix crash on exit
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user