diff --git a/src/game/Player.cpp b/src/game/Player.cpp index b66df6ce19..d992bfd4a6 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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(); } @@ -20381,4 +20379,4 @@ uint32 Player::GetPhaseMaskForSpawn() const return n_phase; return PHASEMASK_NORMAL; -} \ No newline at end of file +}