Core/Vehicles: Make the vehicle system more aura driven. Get rid of redundant checks and update relevant data.

Closes #805
This commit is contained in:
Machiavelli committed 2011-03-04 21:17:06 +01:00
1 parent c2a2d7201b
commit a9582964d3
14 files changed
+80 -79

No files matched your search

@@ -1250,7 +1250,7 @@ void SmartScript::ProcessAction(SmartScriptHolder &e, Unit* unit, uint32 var0, u
{
if (IsUnit(*itr) && (*itr)->ToUnit()->GetVehicleKit())
{
me->EnterVehicle((*itr)->ToUnit()->GetVehicleKit(), e.action.enterVehicle.seat);
me->EnterVehicle((*itr)->ToUnit(), e.action.enterVehicle.seat);
return;
}
}