fix(Core/Pets): Spells casted by pets and delayed due to LoS or not in range cause should have cast time (#7667)

- Closes #5231
This commit is contained in:
UltraNix 2021-09-03 15:47:25 +02:00 committed by GitHub
parent fd4b515657
commit 32cb433f10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -467,7 +467,7 @@ void Pet::Update(uint32 diff)
GetCharmInfo()->SetIsReturning(false);
GetCharmInfo()->SaveStayPosition(true);
CastSpell(tempspellTarget, tempspell, true);
CastSpell(tempspellTarget, tempspell, false);
m_tempspell = 0;
m_tempspellTarget = nullptr;