summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-09 15:26:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-10 22:44:01 +0300
commitcfd535c7f5b442ae3d96a192a2dbe8650cae99af (patch)
tree158feeb6ecbfcffdc766ec8ac1b2917383c744d3 /src/map/pc.c
parent3742a813233edca6a59cc027209b8cd6bfd6b70b (diff)
downloadhercules-cfd535c7f5b442ae3d96a192a2dbe8650cae99af.tar.gz
hercules-cfd535c7f5b442ae3d96a192a2dbe8650cae99af.tar.bz2
hercules-cfd535c7f5b442ae3d96a192a2dbe8650cae99af.tar.xz
hercules-cfd535c7f5b442ae3d96a192a2dbe8650cae99af.zip
Fix interfaces methods usage.
In some places was used direct methods.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 1dc032f7c..1e651b321 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -9326,7 +9326,7 @@ int pc_checkitem(struct map_session_data *sd)
int j;
for ( j = 0; j < map->list[sd->bl.m].zone->disabled_items_count; j++ ) {
if ( map->list[sd->bl.m].zone->disabled_items[j] == sd->status.inventory[i].nameid ) {
- pc_unequipitem( sd, i, 2 );
+ pc->unequipitem( sd, i, 2 );
calc_flag = 1;
}
}
@@ -9338,7 +9338,7 @@ int pc_checkitem(struct map_session_data *sd)
for ( slot = 0; slot < MAX_SLOTS; slot++ ) {
for ( j = 0; j < map->list[sd->bl.m].zone->disabled_items_count; j++ ) {
if ( map->list[sd->bl.m].zone->disabled_items[j] == sd->status.inventory[i].card[slot] ) {
- pc_unequipitem( sd, i, 2 );
+ pc->unequipitem( sd, i, 2 );
calc_flag = 1;
}
}