*Fix the bug that all vehicles are broken.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-04-21 14:05:54 -05:00
1 parent e20e65ced9
commit 297498f1f7
6 files changed
+9 -15

No files matched your search

+1 -1
View File
@@ -6540,7 +6540,7 @@ void Spell::SummonVehicle(uint32 entry, SummonPropertiesEntry const *properties)
if(damage)
{
m_caster->CastSpell(vehicle, damage, true);
vehicle->AddPassenger(m_caster);
m_caster->EnterVehicle(vehicle);
}
}