From 872368b15b84f1a2c945238b4e2a9a2ed411e849 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 Sep 2013 21:52:19 +0300 Subject: remove useless includes from some files. --- src/game.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 03f26c981..4eaa09a66 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -68,7 +68,6 @@ #endif #include "gui/skilldialog.h" #include "gui/statuswindow.h" -#include "gui/textdialog.h" #include "gui/tradewindow.h" #include "gui/viewport.h" #include "gui/questswindow.h" @@ -87,7 +86,6 @@ #include "net/generalhandler.h" #include "net/gamehandler.h" #include "net/packetcounters.h" -#include "net/playerhandler.h" #include "resources/imagewriter.h" #include "resources/mapdb.h" @@ -101,10 +99,6 @@ #include "utils/process.h" #include "utils/sdlcheckutils.h" -#include -#include - -#include #include #include @@ -397,7 +391,9 @@ Game::Game(): spellManager = new SpellManager; spellShortcut = new SpellShortcut; - assert(!mInstance); +// assert(!mInstance); + if (mInstance) + logger->log("error: double game creation"); mInstance = this; config.incValue("gamecount"); -- cgit v1.2.3-60-g2f50