diff options
| author | Spp <none@none> | 2010-08-30 15:25:15 +0200 |
|---|---|---|
| committer | Spp <none@none> | 2010-08-30 15:25:15 +0200 |
| commit | 405f312918136510fde921403ffffa315bdbcb4b (patch) | |
| tree | 1543ab9fe023fcb6ce03d31070917cff527b2e88 /src/server/game/Entities/Item | |
| parent | b0d85ac1858ecc162adb08a8de1b3da68121ce64 (diff) | |
Core: Fix more warnings
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Entities/Item')
| -rw-r--r-- | src/server/game/Entities/Item/Item.cpp | 2 |
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 4e615052cba..ab54522de7a 100644 --- a/src/server/game/Entities/Item/Item.cpp +++ b/src/server/game/Entities/Item/Item.cpp @@ -1000,7 +1000,7 @@ uint8 Item::GetGemCountWithLimitCategory(uint32 limitCategory) const bool Item::IsLimitedToAnotherMapOrZone(uint32 cur_mapId, uint32 cur_zoneId) const { ItemPrototype const* proto = GetProto(); - return proto && (proto->Map && proto->Map != cur_mapId || proto->Area && proto->Area != cur_zoneId); + return proto && ((proto->Map && proto->Map != cur_mapId) || (proto->Area && proto->Area != cur_zoneId)); } // Though the client has the information in the item's data field, |
