summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-06 00:09:38 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-06 00:27:26 +0100
commit616afb27c23def5661b3466d6fc86fd1c65c0082 (patch)
treef7d858815b413cc0d6df2e39d099eaa219fcbb7f /src/gui
parentc75511fffc77d517fbf854ec8bef791f055de44c (diff)
downloadmana-client-616afb27c23def5661b3466d6fc86fd1c65c0082.tar.gz
mana-client-616afb27c23def5661b3466d6fc86fd1c65c0082.tar.bz2
mana-client-616afb27c23def5661b3466d6fc86fd1c65c0082.tar.xz
mana-client-616afb27c23def5661b3466d6fc86fd1c65c0082.zip
Microoptimization in compile speed
No need to include localplayer.h from inventorywindow.h
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/inventorywindow.cpp1
-rw-r--r--src/gui/inventorywindow.h8
2 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index fea86b81..e4896063 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -38,6 +38,7 @@
#include "../inventory.h"
#include "../item.h"
+#include "../localplayer.h"
#include "../units.h"
#include "../resources/iteminfo.h"
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 45796e74..e1196f78 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -22,12 +22,12 @@
#ifndef INVENTORYWINDOW_H
#define INVENTORYWINDOW_H
-#include <guichan/actionlistener.hpp>
-#include <guichan/selectionlistener.hpp>
-
#include "window.h"
-#include "../localplayer.h"
+#include "../inventory.h"
+
+#include <guichan/actionlistener.hpp>
+#include <guichan/selectionlistener.hpp>
class Item;
class ItemContainer;