summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Dombrowski <sdo451@gmail.com>2013-09-08 18:47:32 +0200
committerStefan Dombrowski <sdo451@gmail.com>2013-09-08 18:47:32 +0200
commit03149ffff48047657e8474eb5b681d7d804195a3 (patch)
treeffaddbdf1faa6ba2d1a77fc4eb544779fc755ed1
parent8906aa33b8365a7731c5345004531d855a61b67a (diff)
downloadmana-03149ffff48047657e8474eb5b681d7d804195a3.tar.gz
mana-03149ffff48047657e8474eb5b681d7d804195a3.tar.bz2
mana-03149ffff48047657e8474eb5b681d7d804195a3.tar.xz
mana-03149ffff48047657e8474eb5b681d7d804195a3.zip
Fixing packet length of CMSG_NPC_STR_RESPONSE
The CMSG_NPC_STR_RESPONSE packet transmits a string of variable length.
-rw-r--r--src/net/tmwa/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp
index 3a02deba..14cfe65f 100644
--- a/src/net/tmwa/network.cpp
+++ b/src/net/tmwa/network.cpp
@@ -77,7 +77,7 @@ uint16_t packet_lengths[0x220] = {
11, 7,VAR, 67, 12, 18,114, 6, 3, 6, 26, 26, 26, 26, 2, 3,
// #0x01C0
2, 14, 10,VAR, 22, 22, 4, 2, 13, 97, 0, 9, 9, 29, 6, 28,
- 8, 14, 10, 35, 6, 8, 4, 11, 54, 53, 60, 2,VAR, 47, 33, 6,
+ 8, 14, 10, 35, 6,VAR, 4, 11, 54, 53, 60, 2,VAR, 47, 33, 6,
30, 8, 34, 14, 2, 6, 26, 2, 28, 81, 6, 10, 26, 2,VAR,VAR,
VAR,VAR, 20, 10, 32, 9, 34, 14, 2, 6, 48, 56,VAR, 4, 5, 10,
// #0x0200