diff options
author | Haruna <haru@dotalux.com> | 2014-11-10 21:09:46 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-11-10 21:09:46 +0100 |
commit | 82ca427389450aabec616a55b1a5ed519bd44d8e (patch) | |
tree | 6c004ef9edd56f6ac039df26342810ac21de3bdb /src/map/pc.c | |
parent | c1e1099c701de325a076172bcadf544e5b3000c9 (diff) | |
parent | cfd535c7f5b442ae3d96a192a2dbe8650cae99af (diff) | |
download | hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.tar.gz hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.tar.bz2 hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.tar.xz hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.zip |
Merge pull request #386 from 4144/fixplugins
Fix interfaces methods usage.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
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; } } |