Fixed phase seelction for gameobject/creature spawn for GM-mode without phase auras. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
+1
-3
@@ -20370,9 +20370,7 @@ uint32 Player::GetPhaseMaskForSpawn() const
|
||||
else
|
||||
{
|
||||
AuraList const& phases = GetAurasByType(SPELL_AURA_PHASE);
|
||||
if(phases.empty())
|
||||
phase = GetPhaseMask();
|
||||
else
|
||||
if(!phases.empty())
|
||||
phase = phases.front()->GetMiscValue();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user