From 2bd59adc7c456ce6f377feac8bc838e8011ebfc8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 Jun 2015 21:49:04 +0300 Subject: Fix code style. --- src/actions/actions.cpp | 6 ++---- src/actions/chat.cpp | 2 -- src/actions/pets.cpp | 3 ++- 3 files changed, 4 insertions(+), 7 deletions(-) (limited to 'src/actions') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 66ad410ee..713e80a9f 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -36,10 +36,6 @@ #include "being/localplayer.h" #include "being/playerinfo.h" -#include "enums/being/attributes.h" - -#include "enums/gui/dialogtype.h" - #include "gui/gui.h" #include "gui/popupmanager.h" #include "gui/sdlinput.h" @@ -107,6 +103,8 @@ #endif #endif +#include + #include "debug.h" extern std::string tradePartnerName; diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 125a9b94c..9749e30fa 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -24,8 +24,6 @@ #include "actions/actiondef.h" -#include "being/localplayer.h" - #include "gui/chatconsts.h" #include "gui/windows/chatwindow.h" diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp index 24f0d51c4..6b141bddb 100644 --- a/src/actions/pets.cpp +++ b/src/actions/pets.cpp @@ -40,13 +40,14 @@ #include "net/chathandler.h" #ifdef TMWA_SUPPORT #include "net/net.h" +#else +#include "utils/stringutils.h" #endif #include "net/pethandler.h" #include "net/serverfeatures.h" #include "utils/chatutils.h" #include "utils/gettext.h" -#include "utils/stringutils.h" #include "debug.h" -- cgit v1.2.3-70-g09d2