Scripts/The Storm Peaks: Use proper vehicle check on prisoners from Cold Hearted quest.

This commit is contained in:
w1sht0l1v3 committed 2013-06-29 14:50:37 +03:00
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)