diff options
author | megamage <none@none> | 2009-04-19 18:23:10 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-19 18:23:10 -0500 |
commit | f9befe1d3db1769c9cfeb6898504c95ca58c2316 (patch) | |
tree | b4037c4eefb6b2c97a93fddff4115921178ff1be /src/game/SkillHandler.cpp | |
parent | 3d62e6f07d956b515f681642a67a9efbf9a013f6 (diff) |
[7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange. Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/SkillHandler.cpp')
-rw-r--r-- | src/game/SkillHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SkillHandler.cpp b/src/game/SkillHandler.cpp index 06a7317d09d..2e1f09aaf5a 100644 --- a/src/game/SkillHandler.cpp +++ b/src/game/SkillHandler.cpp @@ -46,7 +46,7 @@ void WorldSession::HandleTalentWipeOpcode( WorldPacket & recv_data ) uint64 guid; recv_data >> guid; - Creature *unit = ObjectAccessor::GetNPCIfCanInteractWith(*_player, guid,UNIT_NPC_FLAG_TRAINER); + Creature *unit = GetPlayer()->GetNPCIfCanInteractWith(guid,UNIT_NPC_FLAG_TRAINER); if (!unit) { sLog.outDebug( "WORLD: HandleTalentWipeOpcode - Unit (GUID: %u) not found or you can't interact with him.", uint32(GUID_LOPART(guid)) ); |