*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
This commit is contained in:
1 parent
ba4e54f2f7
commit
5a71d93bd2
8 files changed
+76
-46
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user