diff options
author | megamage <none@none> | 2009-06-05 14:21:25 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-05 14:21:25 -0500 |
commit | 13fd9ea601e666ea0381d6cfafc20e316fa3f90e (patch) | |
tree | fe9774a33b917171f5525e15611dfdd071e25740 /src/game/SpellEffects.cpp | |
parent | afd79d7ebfc9db0045e74b56a4ecd4ae520552a7 (diff) |
*Apply tenacity buff on vehicles of wintergrasp.
*Fix the bug that tenacity is not applied on horde players.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c69069b82a9..4ec6a30ae3d 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3295,7 +3295,8 @@ void Spell::EffectSummonType(uint32 i) return; //vehicle->SetUInt64Value(UNIT_FIELD_SUMMONEDBY, m_caster->GetGUID()); - vehicle->setFaction(m_caster->getFaction()); + if(m_originalCaster) + vehicle->setFaction(m_originalCaster->getFaction()); vehicle->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id); break; } |