summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-02 01:01:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:55 +0300
commit0fb04d3b0c2390c8ad34c833a44416caf0437fe0 (patch)
tree225d512ac60c8ef2cb6128a0029b8d93383ab7c2 /src
parent7349c5f27afa903e2d513f59423cfef65cc57d73 (diff)
downloadmv-0fb04d3b0c2390c8ad34c833a44416caf0437fe0.tar.gz
mv-0fb04d3b0c2390c8ad34c833a44416caf0437fe0.tar.bz2
mv-0fb04d3b0c2390c8ad34c833a44416caf0437fe0.tar.xz
mv-0fb04d3b0c2390c8ad34c833a44416caf0437fe0.zip
eathena: add into db packet SMSG_COLOR_MESSAGE 0x02c1.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/packets.h2
-rw-r--r--src/net/eathena/protocol.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h
index ff2813bc6..f554c9233 100644
--- a/src/net/eathena/packets.h
+++ b/src/net/eathena/packets.h
@@ -98,7 +98,7 @@ int16_t packet_lengths[] =
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0,
// #0x02C0
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0,
+ 0, -1, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 7e747748d..41bc22ba2 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -101,6 +101,7 @@
#define SMSG_BEING_EMOTION 0x00c0
#define SMSG_BEING_ACTION 0x008a /**< Attack, sit, stand up, ... */
#define SMSG_BEING_CHAT 0x008d /**< A being talks */
+#define SMSG_COLOR_MESSAGE 0x02c1
#define CMSG_NAME_REQUEST 0x0094
#define SMSG_BEING_NAME_RESPONSE 0x0095 /**< Has to be requested */
#define SMSG_BEING_NAME_RESPONSE2 0x0220 /**< Has to be requested */