summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-14 16:54:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-14 16:54:21 +0300
commit4af398b58583dd834090f51b70adc749cd082cbb (patch)
treeb11ebd7bb9e9aae0eaded8b53e35ab22154a0746 /src/net/tmwa
parentf42895110758580885e52c6dffbb9e090c9ee101 (diff)
downloadplus-4af398b58583dd834090f51b70adc749cd082cbb.tar.gz
plus-4af398b58583dd834090f51b70adc749cd082cbb.tar.bz2
plus-4af398b58583dd834090f51b70adc749cd082cbb.tar.xz
plus-4af398b58583dd834090f51b70adc749cd082cbb.zip
Add into tmwa packet SMSG_MAP_SET_TILES_TYPE. Change protocol version to 7.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/network.cpp1
-rw-r--r--src/net/tmwa/network.h2
-rw-r--r--src/net/tmwa/packetsin.inc1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp
index 822e57a97..66bf166e1 100644
--- a/src/net/tmwa/network.cpp
+++ b/src/net/tmwa/network.cpp
@@ -36,6 +36,7 @@
#include "net/ea/inventoryrecv.h"
#include "net/ea/itemrecv.h"
#include "net/ea/loginrecv.h"
+#include "net/ea/maprecv.h"
#include "net/ea/npcrecv.h"
#include "net/ea/partyrecv.h"
#include "net/ea/playerrecv.h"
diff --git a/src/net/tmwa/network.h b/src/net/tmwa/network.h
index d75d9774b..97d2d13d7 100644
--- a/src/net/tmwa/network.h
+++ b/src/net/tmwa/network.h
@@ -29,7 +29,7 @@
* Protocol version, reported to the tmwa char and mapserver who can adjust
* the protocol accordingly.
*/
-#define CLIENT_PROTOCOL_VERSION 6
+#define CLIENT_PROTOCOL_VERSION 7
namespace TmwAthena
{
diff --git a/src/net/tmwa/packetsin.inc b/src/net/tmwa/packetsin.inc
index f760c979f..4a0529af1 100644
--- a/src/net/tmwa/packetsin.inc
+++ b/src/net/tmwa/packetsin.inc
@@ -170,3 +170,4 @@ packet(SMSG_WHISPER_RESPONSE, 0x0098, 3, &ChatRecv::processWhispe
packet(SMSG_WHO_ANSWER, 0x00c2, 6, &Ea::GameRecv::processWhoAnswer, 0);
packet(SMSG_MAP_MASK, 0x0226, 10, &Ea::PlayerRecv::processMapMask, 0);
packet(SMSG_PLAYER_CLIENT_COMMAND, 0x0230, -1, &Ea::PlayerRecv::processPlayerClientCommand, 0);
+packet(SMSG_MAP_SET_TILES_TYPE, 0x0231, 34, &Ea::MapRecv::processSetTilesType, 0);