case ITEMID_GIANT_FLY_WING: {
struct party_data *p;
if (!sd->status.party_id) { // No party
clif->msgtable(sd, MSG_PARTY_MEMBER_NOT_SUMMONED);
break;
}
if ((p = party->search(sd->status.party_id)) != NULL) {
int i;
int16 m;
ARR_FIND(0, MAX_PARTY, i, p->data[i].sd == sd);
if (i == MAX_PARTY || !p->party.member[i].leader) { // Should not happen, Player is in party, but data not found in memory/ Not a Leader.
clif->msgtable(sd, MSG_PARTY_MEMBER_NOT_SUMMONED);
break;
}
m = sd->bl.m;
ARR_FIND(0, MAX_PARTY, i, p->data[i].sd && p->data[i].sd != sd && p->data[i].sd->bl.m == m);
if (i == MAX_PARTY) { // You're the leader, but no members in the map
clif->msgtable(sd, MSG_PARTY_NO_MEMBER_IN_MAP);
break;
}
}
}