chore(Core/Texts): Rename parameter for creature texts (#10317)

This commit is contained in:
Nefertumm
2022-01-31 06:48:55 -03:00
committed by GitHub
parent 4df8b23c5f
commit ede60e2bc0
3 changed files with 20 additions and 20 deletions

View File

@@ -51,9 +51,9 @@ void CreatureAI::OnCharmed(bool /*apply*/)
AISpellInfoType* UnitAI::AISpellInfo;
AISpellInfoType* GetAISpellInfo(uint32 i) { return &CreatureAI::AISpellInfo[i]; }
void CreatureAI::Talk(uint8 id, WorldObject const* whisperTarget /*= nullptr*/)
void CreatureAI::Talk(uint8 id, WorldObject const* target /*= nullptr*/)
{
sCreatureTextMgr->SendChat(me, id, whisperTarget);
sCreatureTextMgr->SendChat(me, id, target);
}
inline bool IsValidCombatTarget(Creature* source, Player* target)