diff options
author | Kudlaty <none@none> | 2009-09-22 01:52:16 +0200 |
---|---|---|
committer | Kudlaty <none@none> | 2009-09-22 01:52:16 +0200 |
commit | d3c402fa180554017268a6a24b72443b14d8d11c (patch) | |
tree | e71311a295b85633ba62c6a632be8c85492df31f /src/game/Player.cpp | |
parent | 9e5c8db01f792231ecff7e3f60a31ebfea733ff1 (diff) |
Fix problems with no stack limit.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 8db30d47e68..e7c7a8aba23 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -9346,7 +9346,7 @@ uint8 Player::_CanTakeMoreSimilarItems(uint32 entry, uint32 count, Item* pItem, } // no maximum - if(pProto->MaxCount <= 0) + if(pProto->MaxCount <= 0 || pProto->MaxCount == 2147483647) return EQUIP_ERR_OK; uint32 curcount = GetItemCount(pProto->ItemId,true,pItem); |