From fc77e2d761a5028a51318493a17999069017c4e3 Mon Sep 17 00:00:00 2001 From: w12x Date: Mon, 27 Oct 2008 11:48:45 -0500 Subject: [svn] * Changed modelid_a/h(2) values to modelid1..4, display ids are no longer incorrectly chosen based on player faction. Patch provided by WarHead. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/game/SpellAuras.cpp') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 7e255d25a62..31132246e3f 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2696,8 +2696,7 @@ void Aura::HandleAuraTransform(bool apply, bool Real) } else { - // Will use the default model here - m_target->SetDisplayId(ci->DisplayID_A); + if (uint32 modelid = ci->GetRandomValidModelId()) m_target->SetDisplayId(modelid); // Dragonmaw Illusion (set mount model also) if(GetId()==42016 && m_target->GetMountID() && !m_target->GetAurasByType(SPELL_AURA_MOD_INCREASE_FLIGHT_SPEED).empty()) -- cgit v1.2.3