Core/Loot: fixed displaying random suffix enchantments in loot windows
This commit is contained in:
1 parent
c7540fc930
commit
b9736c8bbf
1 file changed
+2
-2
@@ -615,8 +615,8 @@ ByteBuffer& operator<<(ByteBuffer& b, LootItem const& li)
|
||||
b << uint32(li.itemid);
|
||||
b << uint32(li.count); // nr of items of this type
|
||||
b << uint32(ASSERT_NOTNULL(sObjectMgr->GetItemTemplate(li.itemid))->GetDisplayID());
|
||||
b << uint32(li.randomSuffix);
|
||||
b << uint32(li.randomPropertyId.Id);
|
||||
b << int32(li.randomSuffix);
|
||||
b << int32(li.randomPropertyId.Type == ItemRandomEnchantmentType::Property ? li.randomPropertyId.Id : -int32(li.randomPropertyId.Id));
|
||||
//b << uint8(0); // slot type - will send after this function call
|
||||
return b;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user