Scripts/The Storm Peaks: Use proper vehicle check on prisoners from Cold Hearted quest.
This commit is contained in:
1 parent
53e5fc2fbc
commit
44c844d6fd
1 file changed
+1
-3
@@ -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