summaryrefslogtreecommitdiff
path: root/src/gui/windowmanager_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-31 18:57:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-31 18:57:07 +0300
commit5719a23f9b0729f04ed1fa5dc6cc680c58d514d4 (patch)
treed4fc1a73ea263a737e56d740a266bea34a1bbfcd /src/gui/windowmanager_unittest.cc
parent31e7a7d05f36495df0176fc31d5894e216c3cdf4 (diff)
downloadplus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.gz
plus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.bz2
plus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.xz
plus-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.zip
Move units into db directory.
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r--src/gui/windowmanager_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc
index 048d23550..b9c848821 100644
--- a/src/gui/windowmanager_unittest.cc
+++ b/src/gui/windowmanager_unittest.cc
@@ -23,7 +23,6 @@
#include "configuration.h"
#include "graphicsmanager.h"
#include "settings.h"
-#include "units.h"
#include "textcommand.h"
#include "being/being.h"
@@ -105,6 +104,8 @@
#include "resources/sdlimagehelper.h"
+#include "resources/db/unitsdb.h"
+
#include "resources/item/item.h"
#include "resources/map/map.h"
@@ -160,7 +161,7 @@ TEST_CASE("Windows tests", "windowmanager")
gui = new Gui();
gui->postInit(mainGraphics);
touchManager.init();
- Units::loadUnits();
+ UnitsDb::loadUnits();
charServerHandler = new EAthena::CharServerHandler;
serverFeatures = new EAthena::ServerFeatures;
inventoryHandler = new EAthena::InventoryHandler;