mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Scripts/The Storm Peaks: Use proper vehicle check on prisoners from Cold Hearted quest.
This commit is contained in:
@@ -195,10 +195,8 @@ public:
|
||||
if (!freed)
|
||||
return;
|
||||
|
||||
if (!me->HasUnitState(UNIT_STATE_ONVEHICLE))
|
||||
{
|
||||
if (!me->GetVehicle())
|
||||
me->DespawnOrUnsummon();
|
||||
}
|
||||
}
|
||||
|
||||
void SpellHit(Unit* caster, const SpellInfo* spell)
|
||||
|
||||
Reference in New Issue
Block a user