Merge branch 'master' of github.com:TrinityCore/TrinityCore

This commit is contained in:
Shocker
2012-01-28 23:45:05 +02:00
8 changed files with 32 additions and 12 deletions
@@ -302,7 +302,7 @@ class spell_frost_tomb : public SpellScriptLoader
if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_DEATH)
if (Unit* caster = GetCaster())
if (caster->ToCreature() && caster->isAlive())
caster->ToCreature()->DespawnOrUnsummon();
caster->ToCreature()->DespawnOrUnsummon(1000);
}
void Register()