Commit ceccd061 authored by Jeff Raab's avatar Jeff Raab

Merge pull request #729 from LuisAntonRebollo/fix_mem_corruption_on_precipitation

Fix #224 Memory corruption on Precipitation::destroySplash.
parents c8153cfd a3bdaf12
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment