|
@@ -9925,6 +9925,8 @@ void clif_viewequip_ack(struct map_session_data* sd, struct map_session_data* ts
|
|
{
|
|
{
|
|
if (tsd->inventory.u.items_inventory[i].nameid <= 0 || tsd->inventory_data[i] == NULL) // Item doesn't exist
|
|
if (tsd->inventory.u.items_inventory[i].nameid <= 0 || tsd->inventory_data[i] == NULL) // Item doesn't exist
|
|
continue;
|
|
continue;
|
|
|
|
+ if (!tsd->inventory.u.items_inventory[i].equip)
|
|
|
|
+ continue;
|
|
if (!itemdb_isequip2(tsd->inventory_data[i])) // Is not equippable
|
|
if (!itemdb_isequip2(tsd->inventory_data[i])) // Is not equippable
|
|
continue;
|
|
continue;
|
|
// Add item info : refine, identify flag, element, etc.
|
|
// Add item info : refine, identify flag, element, etc.
|
|
@@ -16698,7 +16700,9 @@ void clif_parse_ViewPlayerEquip(int fd, struct map_session_data* sd)
|
|
if (!tsd)
|
|
if (!tsd)
|
|
return;
|
|
return;
|
|
|
|
|
|
- if( tsd->status.show_equip || pc_has_permission(sd, PC_PERM_VIEW_EQUIPMENT) )
|
|
|
|
|
|
+ if (sd->bl.m != tsd->bl.m)
|
|
|
|
+ return;
|
|
|
|
+ else if( tsd->status.show_equip || pc_has_permission(sd, PC_PERM_VIEW_EQUIPMENT) )
|
|
clif_viewequip_ack(sd, tsd);
|
|
clif_viewequip_ack(sd, tsd);
|
|
else
|
|
else
|
|
clif_msg(sd, VIEW_EQUIP_FAIL);
|
|
clif_msg(sd, VIEW_EQUIP_FAIL);
|