fix(Core/Spell): "Taming the Beast" hunter quests, part 2 (#2271)

Co-authored-by: Mitradis <mitradis@gmail.com>
This commit is contained in:
Stoabrogga 2019-09-08 23:39:34 +02:00 committed by GitHub
parent a22cfb84d9
commit ee09fb8f9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -321,7 +321,7 @@ class spell_hun_taming_the_beast : public SpellScriptLoader
{
if (Unit* target = GetTarget())
if (Creature* creature = target->ToCreature())
creature->DespawnOrUnsummon();
creature->DespawnOrUnsummon(1);
}
void Register()