From 74e339cf16f44296ea4318c06cf8a736f1994861 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 18 Jul 2006 21:12:35 +0000 Subject: - Added atcommand @partyoption, lets you alter the party item-distribution type on the go. Usage is "@partyoption ", 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 --- src/map/intif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/intif.c') 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; } -- cgit v1.2.3-60-g2f50