summaryrefslogtreecommitdiff
path: root/src/emap/pc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-13 21:50:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-13 21:50:33 +0300
commita38eb2a333972481d99c5fe0c152ba6d59fba839 (patch)
tree1ef8f9da2d4a6ed5caa6c98a2aa50b42c0b1b67f /src/emap/pc.c
parentcfaf7b65b33fb94ba96be48c0c0187116616279a (diff)
downloadevol-hercules-a38eb2a333972481d99c5fe0c152ba6d59fba839.tar.gz
evol-hercules-a38eb2a333972481d99c5fe0c152ba6d59fba839.tar.bz2
evol-hercules-a38eb2a333972481d99c5fe0c152ba6d59fba839.tar.xz
evol-hercules-a38eb2a333972481d99c5fe0c152ba6d59fba839.zip
Add support for sending all equipped items with cards from char server.
Diffstat (limited to 'src/emap/pc.c')
-rw-r--r--src/emap/pc.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/emap/pc.c b/src/emap/pc.c
index feb1980..96bc074 100644
--- a/src/emap/pc.c
+++ b/src/emap/pc.c
@@ -93,19 +93,6 @@ void epc_equipitem_pos(TBL_PC *sd, struct item_data *id, int *nPtr, int *posPtr)
}
pc->calcweapontype(sd);
eclif_changelook2(&sd->bl, LOOK_WEAPON, sd->status.weapon, id, n);
- if (sd->status.weapon)
- {
- for (int i = 0; i < id->slot; i++ )
- {
- struct item_data *data;
- if (!sd->status.inventory[n].card[i])
- continue;
- if ((data = itemdb->exists(sd->status.inventory[n].card[i])) != NULL)
- {
- ShowWarning("equip: for pos %d card %d\n", LOOK_WEAPON, data->nameid);
- }
- }
- }
}
if (pos & (EQP_HAND_L|EQP_SHADOW_SHIELD))
{
@@ -128,19 +115,6 @@ void epc_equipitem_pos(TBL_PC *sd, struct item_data *id, int *nPtr, int *posPtr)
}
pc->calcweapontype(sd);
eclif_changelook2(&sd->bl, LOOK_SHIELD, sd->status.shield, id, n);
- if (sd->status.shield)
- {
- for (int i = 0; i < id->slot; i++ )
- {
- struct item_data *data;
- if (!sd->status.inventory[n].card[i])
- continue;
- if ((data = itemdb->exists(sd->status.inventory[n].card[i])) != NULL)
- {
- ShowWarning("equip: for pos %d card %d\n", LOOK_SHIELD, data->nameid);
- }
- }
- }
}
equipPos(EQP_HEAD_LOW, head_bottom, LOOK_HEAD_BOTTOM);