diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 1 | ||||
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 3 | ||||
-rw-r--r-- | src/net/tmwa/tradehandler.cpp | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 4c6636727..e1e0464a0 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -32,7 +32,6 @@ #include "gui/widgets/createwidget.h" #include "net/character.h" -#include "net/serverfeatures.h" #include "net/ea/token.h" diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp index 7c40df902..6097f515d 100644 --- a/src/net/tmwa/inventoryhandler.cpp +++ b/src/net/tmwa/inventoryhandler.cpp @@ -22,14 +22,11 @@ #include "net/tmwa/inventoryhandler.h" -#include "item.h" - #include "notifymanager.h" #include "enums/equipslot.h" #include "being/localplayer.h" -#include "being/playerinfo.h" #include "enums/resources/notifytypes.h" diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp index 76a8903d6..c445f8d06 100644 --- a/src/net/tmwa/tradehandler.cpp +++ b/src/net/tmwa/tradehandler.cpp @@ -259,7 +259,8 @@ void TradeHandler::processTradeItemAddResponse(Net::MessageIn &msg) void TradeHandler::processTradeResponse(Net::MessageIn &msg) { if (tradePartnerName.empty() || - !player_relations.hasPermission(tradePartnerName, PlayerRelation::TRADE)) + !player_relations.hasPermission(tradePartnerName, + PlayerRelation::TRADE)) { tradeHandler->respond(false); return; |