aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-09 13:39:23 -0500
committermegamage <none@none>2009-04-09 13:39:23 -0500
commit5a71d93bd24880866890f4b5193db60d4aff0c96 (patch)
treea5b208dcae4a99012343aedd0dedcb7479900a6b /src/game/SpellEffects.cpp
parentba4e54f2f7d411eb60c8927e358d2835019a657a (diff)
*Update vehicle code.
*Show correct visual effects to other players. *Do not allow attack players on vehicle. *Only dismiss vehicle when it is summoned. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 810931c5229..ffab7bdc83a 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -6437,6 +6437,7 @@ void Spell::SummonVehicle(uint32 entry, SummonPropertiesEntry const *properties)
if(!vehicle)
return;
+ vehicle->SetOwnerGUID(m_caster->GetGUID());
vehicle->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
if(damage)