mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-01 22:56:39 +01:00
Core/ScriptedAI: Reset VehicleKit in BossAI::_Reset()
Core/Vehicles: Minor log fix and comment a redundant assertion
This commit is contained in:
@@ -516,6 +516,9 @@ void BossAI::_Reset()
|
||||
if (!me->isAlive())
|
||||
return;
|
||||
|
||||
if (me->GetVehicleKit())
|
||||
me->GetVehicleKit()->Reset();
|
||||
|
||||
me->ResetLootMode();
|
||||
events.Reset();
|
||||
summons.DespawnAll();
|
||||
|
||||
Reference in New Issue
Block a user