summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-11 07:47:43 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-11 07:47:43 +0000
commit6bea982d80a3c71342fa888123ea1c9d43deff00 (patch)
tree356e78822bbdf3843224be27bd1ddb4c416dd094 /src
parentc0aedc4c41ebc4959344a283ac7ea4a2296fb204 (diff)
downloadhercules-6bea982d80a3c71342fa888123ea1c9d43deff00.tar.gz
hercules-6bea982d80a3c71342fa888123ea1c9d43deff00.tar.bz2
hercules-6bea982d80a3c71342fa888123ea1c9d43deff00.tar.xz
hercules-6bea982d80a3c71342fa888123ea1c9d43deff00.zip
Swapped around packets 0x2b6 and 0x2b7, ought to fix some issues with the quest system.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13278 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3ae69e326..94af1ad01 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -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);