mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-22 03:18:22 +00:00
** Fix for RoF clients not displaying Augment Restrictions in the Item Info window.
** Change to Client::SummonItem() to enforce valid item/augment combinations. (Run the optional sql file first, before posting any SummonItem() failure issues in the forums.)
This commit is contained in:
@@ -5070,8 +5070,9 @@ char* SerializeItem(const ItemInst *inst, int16 slot_id_in, uint32 *length, uint
|
||||
memset(&isbs, 0, sizeof(RoF::structs::ItemSecondaryBodyStruct));
|
||||
|
||||
isbs.augtype = item->AugType;
|
||||
isbs.augrestrict = item->AugRestrict;
|
||||
isbs.augdistiller = 0;
|
||||
isbs.augrestrict = item->AugRestrict;
|
||||
|
||||
|
||||
for(int x = 0; x < 5; ++x)
|
||||
{
|
||||
|
||||
@@ -4427,8 +4427,11 @@ struct AugSlotStruct
|
||||
struct ItemSecondaryBodyStruct
|
||||
{
|
||||
uint32 augtype;
|
||||
uint32 augrestrict;
|
||||
// swapped augrestrict and augdistiller positions
|
||||
// (this swap does show the proper augment restrictions in Item Information window now)
|
||||
// unsure what the purpose of augdistiller is at this time -U 3/17/2014
|
||||
uint32 augdistiller; // New to December 10th 2012 client - NEW
|
||||
uint32 augrestrict;
|
||||
AugSlotStruct augslots[6];
|
||||
|
||||
uint32 ldonpoint_type;
|
||||
|
||||
Reference in New Issue
Block a user