diff options
author | maximius <none@none> | 2009-10-18 18:38:46 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-18 18:38:46 -0700 |
commit | d22768a6b5aa3eae1c58a418425eca08905cd677 (patch) | |
tree | d229851a558defcbaf3fb010947a80726d01c8c6 /src/game/Pet.cpp | |
parent | 864b3f31e94e46077634ec6bfcad1769f4f2c889 (diff) |
*Cleanup
--HG--
branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r-- | src/game/Pet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index 7df9deabc6f..8920647968c 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -1520,7 +1520,7 @@ void Pet::InitPetCreateSpells() bool Pet::resetTalents(bool no_cost) { Unit *owner = GetOwner(); - if (!owner || owner->GetTypeId()!=TYPEID_PLAYER) + if (!owner || owner->GetTypeId() != TYPEID_PLAYER) return false; // not need after this call @@ -1862,7 +1862,7 @@ void Pet::LearnPetPassives() void Pet::CastPetAuras(bool current) { Unit* owner = GetOwner(); - if(!owner || owner->GetTypeId()!=TYPEID_PLAYER) + if(!owner || owner->GetTypeId() != TYPEID_PLAYER) return; if(!IsPermanentPetFor((Player*)owner)) |