summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan-Fabian Humann <malastare@gmx.net>2005-05-21 15:28:33 +0000
committerJan-Fabian Humann <malastare@gmx.net>2005-05-21 15:28:33 +0000
commit79e2e650a25f4dcf8f5684db1af720b61d600d16 (patch)
tree05592d9ac174179f81e29bb94b76d23e45c91eb1 /src
parent75e8061f9413b0c7134465c48f41ba24410b2885 (diff)
downloadmana-client-79e2e650a25f4dcf8f5684db1af720b61d600d16.tar.gz
mana-client-79e2e650a25f4dcf8f5684db1af720b61d600d16.tar.bz2
mana-client-79e2e650a25f4dcf8f5684db1af720b61d600d16.tar.xz
mana-client-79e2e650a25f4dcf8f5684db1af720b61d600d16.zip
restoring backwards compatibility for trade by using an unused packet
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp2
-rw-r--r--src/net/protocol.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index d4859b71..0f04417a 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -855,7 +855,7 @@ void do_parse()
false, RFIFOL(2), false);
break;
// Trade: New Item add response
- case 0x0215:
+ case 0x01b1:
switch (RFIFOB(6)) {
case 0:
// Successfully added item
diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp
index a11dad82..e3b84457 100644
--- a/src/net/protocol.cpp
+++ b/src/net/protocol.cpp
@@ -76,7 +76,7 @@ short packet_lengths[] = {
-1, -1, 20, 10, 32, 9, 34, 14, 2, 6, 48, 56, -1, 4, 5, 10,
// #0x200
26, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 7, 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, 0,
};
short get_length(short id) {