summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
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