summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-09 21:52:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-09 21:52:19 +0300
commit872368b15b84f1a2c945238b4e2a9a2ed411e849 (patch)
treeba99d9ec8653813f7d9f4007651f8650e2345295 /src/commands.cpp
parentd3d879ac07ac45a623365b4db28c3b120a7bbb25 (diff)
downloadmanaverse-872368b15b84f1a2c945238b4e2a9a2ed411e849.tar.gz
manaverse-872368b15b84f1a2c945238b4e2a9a2ed411e849.tar.bz2
manaverse-872368b15b84f1a2c945238b4e2a9a2ed411e849.tar.xz
manaverse-872368b15b84f1a2c945238b4e2a9a2ed411e849.zip
remove useless includes from some files.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index ff8df5faa..ac7b7278d 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -20,7 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "commandhandler.h"
+#include "commands.h"
#include "auctionmanager.h"
#include "actorspritemanager.h"
@@ -41,14 +41,16 @@
#include "gui/shopwindow.h"
#include "gui/socialwindow.h"
#include "gui/tradewindow.h"
-#include "gui/sdlfont.h"
#include "gui/widgets/whispertab.h"
#if defined USE_OPENGL
#include "render/normalopenglgraphics.h"
#endif
+
+#if defined USE_OPENGL && defined DEBUG_SDLFONT
#include "render/nullopenglgraphics.h"
+#endif
#include "net/adminhandler.h"
#include "net/beinghandler.h"
@@ -57,7 +59,6 @@
#include "net/guildhandler.h"
#include "net/net.h"
#include "net/partyhandler.h"
-#include "net/playerhandler.h"
#include "net/tradehandler.h"
#ifdef DEBUG_DUMP_LEAKS1