diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-20 23:03:53 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-20 23:03:53 +0000 |
commit | 8e3ebf29b3d6fcb8641f7f3569a5627eb9c74b70 (patch) | |
tree | 576ff93a048a21ae8660a91872c05a1621d7f2ea | |
parent | 7ad5e84ef5c3c3d1192f07ee77a5a7d04a94c3bf (diff) | |
download | hercules-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
-rw-r--r-- | Changelog-Trunk.txt | 3 | ||||
-rw-r--r-- | src/map/intif.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index f1fc39d82..46e9da8a8 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/20
+ * 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). [Skotlex]
* Added pc_check_weapontype to do a proper skill weapon check that takes
into account dual-wielding. That is, if a skill can be used with
daggers/axes, you'll be able to use the skill when dual-wielding them.
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;
|