aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/CreatureAI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/AI/CreatureAI.cpp')
-rwxr-xr-xsrc/server/game/AI/CreatureAI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/AI/CreatureAI.cpp b/src/server/game/AI/CreatureAI.cpp
index 1cda7f63d43..52f3f592530 100755
--- a/src/server/game/AI/CreatureAI.cpp
+++ b/src/server/game/AI/CreatureAI.cpp
@@ -34,6 +34,12 @@ void CreatureAI::OnCharmed(bool /*apply*/)
AISpellInfoType * UnitAI::AISpellInfo;
AISpellInfoType * GetAISpellInfo(uint32 i) { return &CreatureAI::AISpellInfo[i]; }
+
+void CreatureAI::Talk(uint8 id, uint64 WhisperGuid)
+{
+ sCreatureTextMgr.SendChat(me, id, WhisperGuid);
+}
+
void CreatureAI::DoZoneInCombat(Creature* creature)
{
if (!creature)