aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <none@none>2010-09-22 11:19:34 +0200
committerShauren <none@none>2010-09-22 11:19:34 +0200
commit562a8c272d2402a870a0f7a51b0742cc1e4d9192 (patch)
treee58f9764ea29908ae1b22a7b2d1a975ccf7ac337 /src
parent9ca1efa1e29039eab339adf912f5f852622550d8 (diff)
Core/Items: Corrected logic in Item::CanBeTraded, fixes mailing and guild banks
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Item/Item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Item/Item.cpp b/src/server/game/Entities/Item/Item.cpp
index 8f330b3bc0b..ccd06764bb1 100644
--- a/src/server/game/Entities/Item/Item.cpp
+++ b/src/server/game/Entities/Item/Item.cpp
@@ -747,7 +747,7 @@ bool Item::CanBeTraded(bool mail, bool trade) const
if (m_lootGenerated)
return false;
- if ((!mail || !IsBoundAccountWide()) && (IsSoulBound() && !HasFlag(ITEM_FIELD_FLAGS, ITEM_FLAG_BOP_TRADEABLE) || !trade))
+ if ((!mail || !IsBoundAccountWide()) && (IsSoulBound() && (!HasFlag(ITEM_FIELD_FLAGS, ITEM_FLAG_BOP_TRADEABLE) || !trade)))
return false;
if (IsBag() && (Player::IsBagPos(GetPos()) || !((Bag const*)this)->IsEmpty()))