summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 23:03:53 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 23:03:53 +0000
commit8e3ebf29b3d6fcb8641f7f3569a5627eb9c74b70 (patch)
tree576ff93a048a21ae8660a91872c05a1621d7f2ea /src/map/intif.c
parent7ad5e84ef5c3c3d1192f07ee77a5a7d04a94c3bf (diff)
downloadhercules-8e3ebf29b3d6fcb8641f7f3569a5627eb9c74b70.tar.gz
hercules-8e3ebf29b3d6fcb8641f7f3569a5627eb9c74b70.tar.bz2
hercules-8e3ebf29b3d6fcb8641f7f3569a5627eb9c74b70.tar.xz
hercules-8e3ebf29b3d6fcb8641f7f3569a5627eb9c74b70.zip
- Fixed the intif party creation packet having the incorrect size sent, hence causing the leader's level to be read as garbage (which caused the "impossible to even share" bug).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7780 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index 5df6dd0ae..c3ea6c013 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -381,7 +381,7 @@ int intif_create_party(struct party_member *member,char *name,int item,int item2
WFIFOHEAD(inter_fd,64);
WFIFOW(inter_fd,0) = 0x3020;
- WFIFOW(inter_fd,2) = 24+2+sizeof(struct party_member);
+ WFIFOW(inter_fd,2) = 30+sizeof(struct party_member);
memcpy(WFIFOP(inter_fd,4),name, NAME_LENGTH);
WFIFOB(inter_fd,28)= item;
WFIFOB(inter_fd,29)= item2;