*Cleanups before delete after not successfull load pet from db. Thanks to Drahy for debug traces.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2010-01-18 23:12:35 +01:00
1 parent c7c3b0edb0
commit a1bbbd1421
4 files changed
+14

No files matched your search

+3
View File
@@ -4855,7 +4855,10 @@ void Spell::EffectScriptEffect(uint32 effIndex)
}
}
else
{
NewPet->CleanupsBeforeDelete();
delete NewPet;
}
}
}
return;