summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-15 23:21:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-15 23:21:52 +0300
commitde5b0753bd94e014f0e81fc676b21c251aabd326 (patch)
tree8d0e306c83bb72eb500e34fa41e6d10918544739 /src/net/tmwa
parent1e59c7e61474e89e08dcb40134d8be5f5ae76bf4 (diff)
downloadplus-de5b0753bd94e014f0e81fc676b21c251aabd326.tar.gz
plus-de5b0753bd94e014f0e81fc676b21c251aabd326.tar.bz2
plus-de5b0753bd94e014f0e81fc676b21c251aabd326.tar.xz
plus-de5b0753bd94e014f0e81fc676b21c251aabd326.zip
Fix code style.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp1
-rw-r--r--src/net/tmwa/protocol.h4
-rw-r--r--src/net/tmwa/tradehandler.cpp1
3 files changed, 4 insertions, 2 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 70ee87049..152a31bd8 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -26,6 +26,7 @@
#include "configuration.h"
#include "being/localplayer.h"
+#include "being/playerrelation.h"
#include "being/playerrelations.h"
#include "gui/chatconsts.h"
diff --git a/src/net/tmwa/protocol.h b/src/net/tmwa/protocol.h
index 70ad201d3..9a455e03a 100644
--- a/src/net/tmwa/protocol.h
+++ b/src/net/tmwa/protocol.h
@@ -63,7 +63,7 @@ packet(SMSG_PLAYER_UPDATE_1, 0x01d8);
packet(SMSG_PLAYER_UPDATE_2, 0x01d9);
packet(SMSG_PLAYER_MOVE, 0x01da); /**< A nearby player moves */
packet(SMSG_PLAYER_STOP, 0x0088); /**< Stop walking, set position */
-packet(SMSG_PLAYER_MOVE_TO_ATTACK, 0x0139); /**< Move to within attack range */
+packet(SMSG_PLAYER_MOVE_TO_ATTACK, 0x0139);
packet(SMSG_PLAYER_STAT_UPDATE_1, 0x00b0);
packet(SMSG_PLAYER_STAT_UPDATE_2, 0x00b1);
packet(SMSG_PLAYER_STAT_UPDATE_3, 0x0141);
@@ -71,7 +71,7 @@ packet(SMSG_PLAYER_STAT_UPDATE_4, 0x00bc);
packet(SMSG_PLAYER_STAT_UPDATE_5, 0x00bd);
packet(SMSG_PLAYER_STAT_UPDATE_6, 0x00be);
packet(SMSG_WHO_ANSWER, 0x00c2);
-packet(SMSG_PLAYER_WARP, 0x0091); /**< Warp player to map/location */
+packet(SMSG_PLAYER_WARP, 0x0091);
packet(SMSG_PLAYER_INVENTORY, 0x01ee);
packet(SMSG_PLAYER_INVENTORY_ADD, 0x00a0);
packet(SMSG_PLAYER_INVENTORY_REMOVE, 0x00af);
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index 4ad803640..f43c5b266 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -27,6 +27,7 @@
#include "notifymanager.h"
#include "being/playerinfo.h"
+#include "being/playerrelation.h"
#include "being/playerrelations.h"
#include "gui/windows/confirmdialog.h"