summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 21:12:35 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 21:12:35 +0000
commit74e339cf16f44296ea4318c06cf8a736f1994861 (patch)
tree350de12492ff0ad0d294720243e3dbfe05648053 /src/map/party.c
parentaca45c0dd3ea658ad4bad00c7e0106856bde8200 (diff)
downloadhercules-74e339cf16f44296ea4318c06cf8a736f1994861.tar.gz
hercules-74e339cf16f44296ea4318c06cf8a736f1994861.tar.bz2
hercules-74e339cf16f44296ea4318c06cf8a736f1994861.tar.xz
hercules-74e339cf16f44296ea4318c06cf8a736f1994861.zip
- Added atcommand @partyoption, lets you alter the party item-distribution type on the go. Usage is "@partyoption <pickup share> <item distribution>", where both arguments can be 0/1, yes/no, etc.
- Updated @changeleader and @partyoption to use msg_Athena entries. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7737 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 24f29a603..c6aebda4a 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -452,13 +452,13 @@ int party_broken(int party_id)
return 0;
}
-int party_changeoption(struct map_session_data *sd,int exp,int flag)
+int party_changeoption(struct map_session_data *sd,int exp,int item)
{
nullpo_retr(0, sd);
if( sd->status.party_id==0)
return 0;
- intif_party_changeoption(sd->status.party_id,sd->status.account_id,exp,flag);
+ intif_party_changeoption(sd->status.party_id,sd->status.account_id,exp,item);
return 0;
}