diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-28 18:46:43 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-28 18:46:43 +0000 |
commit | 9869ec7eebde772ae9d3730a14f4831d4adfc290 (patch) | |
tree | 59565129a1915311134c29d387c265bce104858f /src/map/intif.c | |
parent | 99aec0eb822ca12dde4f72b1c3bf4d5597bf0530 (diff) | |
download | hercules-9869ec7eebde772ae9d3730a14f4831d4adfc290.tar.gz hercules-9869ec7eebde772ae9d3730a14f4831d4adfc290.tar.bz2 hercules-9869ec7eebde772ae9d3730a14f4831d4adfc290.tar.xz hercules-9869ec7eebde772ae9d3730a14f4831d4adfc290.zip |
* Added DUMP_ALL_PACKETS and moved dump packets code in clif_parse a bit to support it
* Added base code for Party Item Sharing
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1009 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r-- | src/map/intif.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/intif.c b/src/map/intif.c index 3f1bbfe88..4306838aa 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -273,7 +273,7 @@ int intif_send_guild_storage(int account_id,struct guild_storage *gstor) } // パーティ作成要求 -int intif_create_party(struct map_session_data *sd,char *name) +int intif_create_party(struct map_session_data *sd,char *name,int item,int item2) { if (CheckForCharServer()) return 0; @@ -285,7 +285,9 @@ int intif_create_party(struct map_session_data *sd,char *name) memcpy(WFIFOP(inter_fd,30),sd->status.name,24); memcpy(WFIFOP(inter_fd,54),map[sd->bl.m].name,16); WFIFOW(inter_fd,70)= sd->status.base_level; - WFIFOSET(inter_fd,72); + WFIFOB(inter_fd,72)= item; + WFIFOB(inter_fd,73)= item2; + WFIFOSET(inter_fd,74); // if(battle_config.etc_log) // printf("intif: create party\n"); return 0; |