mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Fix memory corruption on Precipitation::destroySplash.
This commit is contained in:
parent
4510e29463
commit
a3bdaf128f
1 changed files with 1 additions and 3 deletions
|
|
@ -1168,9 +1168,7 @@ void Precipitation::destroySplash(Raindrop *drop)
|
|||
PROFILE_START(PrecipDestroySplash);
|
||||
if (drop == mSplashHead)
|
||||
{
|
||||
mSplashHead = NULL;
|
||||
PROFILE_END();
|
||||
return;
|
||||
mSplashHead = mSplashHead->nextSplashDrop;
|
||||
}
|
||||
|
||||
if (drop->nextSplashDrop)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue