aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-08 18:49:07 -0500
committermegamage <none@none>2009-05-08 18:49:07 -0500
commit7277ddd1140d388939ae135f135d5bf58871dacf (patch)
tree1c480d3158f3c72feb3748c4d9d2bd8cb76c072b /src/game/Spell.cpp
parente85e4c386b76e345cf615c743a3268408d72bffb (diff)
[7797] Use DBC data for mount model selection in more cases. Author: VladimirMangos
* Use alt.team mount data for take player team model id if DB not provide own team creature id in spell taxi call case. * Remove unddeded hacks for model ids from Spell::EffectSendTaxi * Provide spell target for SPELL_EFFECT_SEND_TAXI for spell with target mode 0 for this effect. --HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 5934542f64f..168e6ddd16f 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -598,6 +598,7 @@ void Spell::FillTargetMap()
case SPELL_EFFECT_SELF_RESURRECT:
case SPELL_EFFECT_REPUTATION:
case SPELL_EFFECT_LEARN_SPELL:
+ case SPELL_EFFECT_SEND_TAXI:
if(m_targets.getUnitTarget())
AddUnitTarget(m_targets.getUnitTarget(), i);
// Triggered spells have additional spell targets - cast them even if no explicit unit target is given (required for spell 50516 for example)