diff options
author | Spp <none@none> | 2010-04-07 23:56:35 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 23:56:35 +0200 |
commit | 46f0674e237dd8fe97ba4f0769e18b4adfce841b (patch) | |
tree | 4556d27751077c2ed37a445493ed93a4d08e981b /src/game/Item.cpp | |
parent | 2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (diff) |
Code Style (game + scripts only):
">=" --> " >= " (when needed)
" >=" --> " >="
">= " --> ">= "
"<=" --> " <= " (when needed)
" <=" --> " <="
"<= " --> "<= "
" ==" --> " =="
"== " --> "== "
--HG--
branch : trunk
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 |