diff options
author | Subv <subv2112@gmail.com> | 2013-12-29 15:13:14 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2013-12-29 15:13:14 -0500 |
commit | d234d0f3d0889e799eb066ba39c9b1edbc964d6e (patch) | |
tree | 17d6281266900fe843573d03eff46a3b2beabedb /src/server/game/AI/CreatureAI.cpp | |
parent | 8658b5338c905c79daf50cb56dbe739f82d25acc (diff) | |
parent | c40cdc2968c58d952878c09a60926af74f782867 (diff) |
Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmaps_rw
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 2ec0e4ff3ca..c8c456b772f 100644 --- a/src/server/game/AI/CreatureAI.cpp +++ b/src/server/game/AI/CreatureAI.cpp @@ -38,9 +38,9 @@ void CreatureAI::OnCharmed(bool /*apply*/) AISpellInfoType* UnitAI::AISpellInfo; AISpellInfoType* GetAISpellInfo(uint32 i) { return &CreatureAI::AISpellInfo[i]; } -void CreatureAI::Talk(uint8 id, uint64 WhisperGuid) +void CreatureAI::Talk(uint8 id, WorldObject const* whisperTarget /*= NULL*/) { - sCreatureTextMgr->SendChat(me, id, WhisperGuid); + sCreatureTextMgr->SendChat(me, id, whisperTarget); } void CreatureAI::DoZoneInCombat(Creature* creature /*= NULL*/, float maxRangeToNearestTarget /* = 50.0f*/) |