diff options
author | Nefertumm <nefertum.dev@protonmail.com> | 2022-01-31 06:48:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 06:48:55 -0300 |
commit | ede60e2bc0b017e74333dce82c86e14663eb2388 (patch) | |
tree | 02a19c2f9a996754d5032f69d5c07c361ad58d03 /src/server/game/AI/CreatureAI.cpp | |
parent | 4df8b23c5fc63598d15f07a5e4ddc85f0b755050 (diff) |
chore(Core/Texts): Rename parameter for creature texts (#10317)
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rw-r--r-- | src/server/game/AI/CreatureAI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp index 5560624ce4..17cf85115b 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -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) |