*Restore creature's phasemask when respawn.
--HG-- branch : trunk
This commit is contained in:
1 parent
711ae28947
commit
7e3bb5c2d4
1 file changed
+2
@@ -1756,6 +1756,8 @@ void Creature::setDeathState(DeathState s)
|
||||
SetMeleeDamageSchool(SpellSchools(cinfo->dmgschool));
|
||||
LoadCreaturesAddon(true);
|
||||
Motion_Initialize();
|
||||
if(GetPhaseMask() != GetCreatureData()->phaseMask)
|
||||
SetPhaseMask(GetCreatureData()->phaseMask, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user