*Some work on vehicles.
--HG-- branch : trunk
This commit is contained in:
1 parent
af935468df
commit
c7d78b5ff9
17 files changed
+392
-190
No files matched your search
@@ -6525,8 +6525,7 @@ void Spell::SummonVehicle(uint32 entry, SummonPropertiesEntry const *properties)
|
||||
if(damage)
|
||||
{
|
||||
m_caster->CastSpell(vehicle, damage, true);
|
||||
if(m_caster->GetTypeId() == TYPEID_PLAYER)
|
||||
((Player*)m_caster)->EnterVehicle(vehicle);
|
||||
vehicle->AddPassenger(m_caster);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user