diff options
| author | w12x <none@none> | 2008-10-27 11:48:45 -0500 |
|---|---|---|
| committer | w12x <none@none> | 2008-10-27 11:48:45 -0500 |
| commit | fc77e2d761a5028a51318493a17999069017c4e3 (patch) | |
| tree | 90fbd6be1f819de32d36a1da1af44c97837c0a50 /src/game/SpellAuras.cpp | |
| parent | 4cbc6f830a833719b7586b333aa8151dab563b60 (diff) | |
[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
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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()) |
