summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 7c72d23ad..d4b6d86b6 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -776,7 +776,10 @@ return 0;
// party_foreachsamemap(party_sub_count, sd, 0, &c);
int party_sub_count(struct block_list *bl, va_list ap)
{
- return 1;
+ if(!(((TBL_PC *)bl)->state.autotrade) && (((TBL_PC *)bl)->idletime < (last_tick - battle_config.idle_no_share)))
+ return 1;
+ else
+ return 0;
}
// 同じマップのパーティメンバー全体に処理をかける