diff options
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r-- | src/game/Item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp index 75f344a65a5..76f1e3363c0 100644 --- a/src/game/Item.cpp +++ b/src/game/Item.cpp @@ -290,7 +290,7 @@ void Item::UpdateDuration(Player* owner, uint32 diff) sLog.outDebug("Item::UpdateDuration Item (Entry: %u Duration %u Diff %u)",GetEntry(),GetUInt32Value(ITEM_FIELD_DURATION),diff); - if (GetUInt32Value(ITEM_FIELD_DURATION)<=diff) + if (GetUInt32Value(ITEM_FIELD_DURATION) <= diff) { sScriptMgr.ItemExpire(owner, GetProto()); owner->DestroyItem(GetBagSlot(), GetSlot(), true); @@ -1007,7 +1007,7 @@ bool Item::IsBindedNotWith(Player const* player) const return false; // own item - if (GetOwnerGUID() == player->GetGUID()) + if (GetOwnerGUID() == player->GetGUID()) return false; // not BOA item case |