* Added back support for 1000 value to indicate unlimited stacking in
* item_template.stackable * Removed pointless check for stackable limit at item_template load. --HG-- branch : trunk
This commit is contained in:
1 parent
35717d94db
commit
76fb5ea713
2 files changed
+1
-6
No files matched your search
@@ -2112,11 +2112,6 @@ void ObjectMgr::LoadItemPrototypes()
|
||||
sLog.outErrorDb("Item (Entry: %u) has too large negative in stackable (%i), replace by value (-1) no stacking limits.",i,proto->Stackable);
|
||||
const_cast<ItemPrototype*>(proto)->Stackable = -1;
|
||||
}
|
||||
else if (proto->Stackable > 2147483647)
|
||||
{
|
||||
sLog.outErrorDb("Item (Entry: %u) has too large value in stackable (%u), replace by hardcoded upper limit (2147483647).",i,proto->Stackable);
|
||||
const_cast<ItemPrototype*>(proto)->Stackable = 2147483647;
|
||||
}
|
||||
|
||||
if (proto->ContainerSlots > MAX_BAG_SIZE)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user