diff options
author | shennetsind <ind@henn.et> | 2013-09-28 14:54:45 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-28 14:54:45 -0300 |
commit | 07eba3971b99c979949c6002109897c07234fc64 (patch) | |
tree | de95c0e4ee9f59ca8e0f9a410fca18ecc4fea3c6 /src/map/pc.c | |
parent | f966d2fa8c5249dfbab11658849aebed16204017 (diff) | |
download | hercules-07eba3971b99c979949c6002109897c07234fc64.tar.gz hercules-07eba3971b99c979949c6002109897c07234fc64.tar.bz2 hercules-07eba3971b99c979949c6002109897c07234fc64.tar.xz hercules-07eba3971b99c979949c6002109897c07234fc64.zip |
HPM: Party.c Completed
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of party within calls to shorten wherever it made sense to, and renamed some members to ease reading.
Signed-off-by: shennetsind <ind@henn.et>
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 1a5efe48a..362ee0873 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -337,7 +337,7 @@ int pc_banding(struct map_session_data *sd, uint16 skill_lv) { c = 0; memset(b_sd, 0, sizeof(b_sd)); - i = party_foreachsamemap(pc_check_banding,sd,range,&sd->bl,&c,&b_sd); + i = party->foreachsamemap(pc_check_banding,sd,range,&sd->bl,&c,&b_sd); if( c < 1 ) { //just recalc status no need to recalc hp @@ -4714,7 +4714,7 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl, uint16 skil } if(battle_config.show_steal_in_same_party) - party_foreachsamemap(pc_show_steal,sd,AREA_SIZE,sd,tmp_item.nameid); + party->foreachsamemap(pc_show_steal,sd,AREA_SIZE,sd,tmp_item.nameid); //Logs items, Stolen from mobs [Lupus] logs->pick_mob(md, LOG_TYPE_STEAL, -1, &tmp_item, data); |