diff options
author | Spp <none@none> | 2010-12-15 10:44:06 +0100 |
---|---|---|
committer | Spp <none@none> | 2010-12-15 10:44:06 +0100 |
commit | 382fef1958b252586cf9a9fa388b4dfe6bddefb0 (patch) | |
tree | effd9ca12ce1c7009f7491b47682a4258641a12d /src/server/game/Conditions/DisableMgr.cpp | |
parent | ddf06c086ecd3e9446a8358988f9c0f23a2722be (diff) |
Core: Some warning fixes
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Conditions/DisableMgr.cpp')
-rwxr-xr-x | src/server/game/Conditions/DisableMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Conditions/DisableMgr.cpp b/src/server/game/Conditions/DisableMgr.cpp index e518361725b..51e7df69552 100755 --- a/src/server/game/Conditions/DisableMgr.cpp +++ b/src/server/game/Conditions/DisableMgr.cpp @@ -238,7 +238,7 @@ bool DisableMgr::IsDisabledFor(DisableType type, uint32 entry, Unit const* pUnit { if ((flags & SPELL_DISABLE_PLAYER && pUnit->GetTypeId() == TYPEID_PLAYER) || - (pUnit->GetTypeId() == TYPEID_UNIT && (pUnit->ToCreature()->isPet() && flags & SPELL_DISABLE_PET || flags & SPELL_DISABLE_CREATURE))) + (pUnit->GetTypeId() == TYPEID_UNIT && ((pUnit->ToCreature()->isPet() && flags & SPELL_DISABLE_PET) || flags & SPELL_DISABLE_CREATURE))) { if (flags & SPELL_DISABLE_MAP) |