From c757bf80478dd5e4e40a6c24b436954ab498a855 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Oct 2014 15:31:36 +0300 Subject: Fix code style. --- src/net/ea/beinghandler.cpp | 6 +----- src/net/ea/eaprotocol.h | 2 +- src/net/ea/guildhandler.cpp | 3 +-- src/net/ea/tradehandler.cpp | 5 ----- 4 files changed, 3 insertions(+), 13 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index f2aed075d..9f3320dd0 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -24,15 +24,12 @@ #include "actormanager.h" #include "configuration.h" -#include "effectmanager.h" #include "game.h" #include "party.h" #include "being/localplayer.h" #include "being/playerrelations.h" -#include "particle/particle.h" - #include "gui/viewport.h" #include "gui/windows/botcheckerwindow.h" @@ -390,8 +387,7 @@ void BeingHandler::processPlayerStop(Net::MessageIn &msg) const BLOCK_END("BeingHandler::processPlayerStop") } -void BeingHandler::processPlayerMoveToAttack(Net::MessageIn &msg A_UNUSED) - const +void BeingHandler::processPlayerMoveToAttack(Net::MessageIn &msg) const { BLOCK_START("BeingHandler::processPlayerStop") msg.readInt32("target id"); diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h index 00cf0f067..c2c5c1970 100644 --- a/src/net/ea/eaprotocol.h +++ b/src/net/ea/eaprotocol.h @@ -71,7 +71,7 @@ namespace Ea ATTACK_DELAY = 53, JOB = 55 }; -} // namespace Net +} // namespace Ea enum { diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp index 234ad4933..ebbb93eaf 100644 --- a/src/net/ea/guildhandler.cpp +++ b/src/net/ea/guildhandler.cpp @@ -22,13 +22,11 @@ #include "net/ea/guildhandler.h" #include "actormanager.h" -#include "configuration.h" #include "notifymanager.h" #include "being/localplayer.h" #include "being/playerinfo.h" -#include "gui/windows/chatwindow.h" #include "gui/windows/skilldialog.h" #include "gui/windows/socialwindow.h" @@ -38,6 +36,7 @@ #include "utils/delete2.h" #include "utils/gettext.h" +#include "utils/stringutils.h" #include "resources/notifytypes.h" diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp index 16e0ca0ad..41e8be6d7 100644 --- a/src/net/ea/tradehandler.cpp +++ b/src/net/ea/tradehandler.cpp @@ -22,9 +22,6 @@ #include "net/ea/tradehandler.h" -#include "inventory.h" -#include "item.h" -#include "logger.h" #include "notifymanager.h" #include "being/playerinfo.h" @@ -35,8 +32,6 @@ #include "net/messagein.h" -#include "net/ea/eaprotocol.h" - #include "utils/gettext.h" #include "resources/notifytypes.h" -- cgit v1.2.3-70-g09d2