diff options
author | megamage <none@none> | 2009-06-06 20:31:23 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-06 20:31:23 -0500 |
commit | ebfb4c05586498e9a2796bd64b923a82bbeb7004 (patch) | |
tree | e13aa0c3c6232b194f84e9aacf491b2d0ad5fb58 /src/game/Level2.cpp | |
parent | 724e5fe5ce7c91f9f144602a94720a33da845777 (diff) |
[7971] Implement support exotic pets limtations related to hunter telent 53270. Author: VladimirMangos
Note: before this commit hunters can tame exotic pets like any other.
After patch like not propertly contriolled pets will auto-dismiss at loading
if talent not learned.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level2.cpp')
-rw-r--r-- | src/game/Level2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index 31834fce8ea..12727bd6f82 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -1827,7 +1827,7 @@ bool ChatHandler::HandleNpcTameCommand(const char* /*args*/) CreatureInfo const* cInfo = creatureTarget->GetCreatureInfo(); - if (!cInfo->isTameable ()) + if (!cInfo->isTameable (player->CanTameExoticPets())) { PSendSysMessage (LANG_CREATURE_NON_TAMEABLE,cInfo->Entry); SetSentErrorMessage (true); |