Swapped around packets 0x2b6 and 0x2b7, ought to fix some issues with the quest system.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13278 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2008-10-11 07:47:43 +00:00
parent 543a78b62f
commit 287402e21b

View File

@ -12353,7 +12353,7 @@ void clif_parse_EquipTick(int fd, struct map_session_data* sd)
/*==========================================
* Questlog System [Kevin]
* 02B5 <packet_len>.W <ignored>.L { }.10B* <-- UNKOWN PACKET
* 02B7 <quest_id>.L <state>.B
* 02B6 <quest_id>.L <state>.B
*------------------------------------------*/
void clif_parse_questStateAck(int fd, struct map_session_data * sd)
@ -12459,13 +12459,13 @@ void clif_send_quest_delete(struct map_session_data * sd, int quest_id)
}
//Change active state of the quest
//* 02B6 <quest_id>.L <state_to>.B
//* 02B7 <quest_id>.L <state_to>.B
void clif_send_quest_status(struct map_session_data * sd, int quest_id, bool active)
{
int fd = sd->fd;
WFIFOHEAD(fd, 7);
WFIFOW(fd, 0) = 0x02B6;
WFIFOW(fd, 0) = 0x02B7;
WFIFOL(fd, 2) = quest_id;
WFIFOB(fd, 6) = active?1:0;
WFIFOSET(fd, 7);