*Allow channeled spells to be casted on dead target

*Define relted spell attributes

--HG--
branch : trunk
This commit is contained in:
QAston committed 2010-08-30 17:32:51 +02:00
1 parent 405f312918
commit a8de57559b
9 files changed
+129 -29

No files matched your search

+3 -2
View File
@@ -12504,9 +12504,10 @@ void Unit::setDeathState(DeathState s)
if (oldDeathState != ALIVE && s == ALIVE)
{
//_ApplyAllAuraMods();
// Reset display id on resurection - needed by corpse explosion to cleanup after display change
SetDisplayId(GetNativeDisplayId());
// TODO: fix this
if (!HasAuraType(SPELL_AURA_TRANSFORM))
SetDisplayId(GetNativeDisplayId());
}
}