- Fixed duel accept invite sending the packet before the duel data is set (resulting in a packet that noone receives). Thanks to Toms for finding it out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7881 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
3fc64fbe0a
commit
44365a97f2
@ -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.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/07/25
|
2006/07/25
|
||||||
|
* Fixed duel accept invite sending the packet before the duel data is set
|
||||||
|
(resulting in a packet that noone receives). Thanks to Toms for finding it
|
||||||
|
out. [Skotlex]
|
||||||
* Fixed a possible crash when you dual-wield and the total damage is 0.
|
* Fixed a possible crash when you dual-wield and the total damage is 0.
|
||||||
[Skotlex]
|
[Skotlex]
|
||||||
* Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
|
* Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/),
|
||||||
|
@ -1135,15 +1135,15 @@ int duel_accept(
|
|||||||
{
|
{
|
||||||
char output[256];
|
char output[256];
|
||||||
|
|
||||||
// " -> Player %s has accepted duel --"
|
|
||||||
sprintf(output, msg_txt(376), (unsigned char *)sd->status.name);
|
|
||||||
clif_disp_message(&sd->bl, output, strlen(output), DUEL_WOS);
|
|
||||||
|
|
||||||
duel_list[did].members_count++;
|
duel_list[did].members_count++;
|
||||||
sd->duel_group = sd->duel_invite;
|
sd->duel_group = sd->duel_invite;
|
||||||
duel_list[did].invites_count--;
|
duel_list[did].invites_count--;
|
||||||
sd->duel_invite = 0;
|
sd->duel_invite = 0;
|
||||||
|
|
||||||
|
// " -> Player %s has accepted duel --"
|
||||||
|
sprintf(output, msg_txt(376), (unsigned char *)sd->status.name);
|
||||||
|
clif_disp_message(&sd->bl, output, strlen(output), DUEL_WOS);
|
||||||
|
|
||||||
clif_set0199(sd->fd, 1);
|
clif_set0199(sd->fd, 1);
|
||||||
//clif_misceffect2(&sd->bl, 159);
|
//clif_misceffect2(&sd->bl, 159);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user