aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/CreatureAI.cpp
diff options
context:
space:
mode:
authorRat <none@none>2010-11-16 19:21:48 +0100
committerRat <none@none>2010-11-16 19:21:48 +0100
commitf5edd6ef2a61a0f762a6c1a408d665e7f37747a3 (patch)
tree0958b1ad1af7f1fb380f7bbc037fc1453b38fb75 /src/server/game/AI/CreatureAI.cpp
parentee6f03eeadd353054abce2a7e29247e1fd526393 (diff)
Core/AI: implemented Talk() for the 'new' textMgr
--HG-- branch : trunk
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)