From 46f0674e237dd8fe97ba4f0769e18b4adfce841b Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 7 Apr 2010 23:56:35 +0200 Subject: Code Style (game + scripts only): ">=" --> " >= " (when needed) " >=" --> " >=" ">= " --> ">= " "<=" --> " <= " (when needed) " <=" --> " <=" "<= " --> "<= " " ==" --> " ==" "== " --> "== " --HG-- branch : trunk --- src/game/Item.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Item.cpp') 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 -- cgit v1.2.3