summaryrefslogtreecommitdiff
path: root/src/map/intif.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/intif.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/intif.c')
-rw-r--r--src/map/intif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index bb12fa673..5df6dd0ae 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -417,7 +417,7 @@ int intif_party_addmember(int party_id,struct party_member *member)
return 1;
}
// パーティ設定変更
-int intif_party_changeoption(int party_id,int account_id,int exp,int flag)
+int intif_party_changeoption(int party_id,int account_id,int exp,int item)
{
if (CheckForCharServer())
return 0;
@@ -426,7 +426,7 @@ int intif_party_changeoption(int party_id,int account_id,int exp,int flag)
WFIFOL(inter_fd,2)=party_id;
WFIFOL(inter_fd,6)=account_id;
WFIFOW(inter_fd,10)=exp;
- WFIFOW(inter_fd,12)=flag;
+ WFIFOW(inter_fd,12)=item;
WFIFOSET(inter_fd,14);
return 0;
}