Core/ScriptedAI: Reset VehicleKit in BossAI::_Reset()

Core/Vehicles: Minor log fix and comment a redundant assertion
This commit is contained in:
Machiavelli
2011-04-22 11:07:58 +02:00
parent de60e63862
commit d42ab6c8bd
2 changed files with 7 additions and 4 deletions

View File

@@ -516,6 +516,9 @@ void BossAI::_Reset()
if (!me->isAlive())
return;
if (me->GetVehicleKit())
me->GetVehicleKit()->Reset();
me->ResetLootMode();
events.Reset();
summons.DespawnAll();