summaryrefslogtreecommitdiff
path: root/src/animatedsprite_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-24 22:53:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-24 22:53:11 +0300
commit732c2012ec337bfebb1a12c1822e98e5c61e79bc (patch)
treea76013a7a0c31f075fc97ea99f19d1f4f631c0b5 /src/animatedsprite_unittest.cc
parent7ffba524847fa15cff8764b8274b5aedfa08bf79 (diff)
downloadmv-732c2012ec337bfebb1a12c1822e98e5c61e79bc.tar.gz
mv-732c2012ec337bfebb1a12c1822e98e5c61e79bc.tar.bz2
mv-732c2012ec337bfebb1a12c1822e98e5c61e79bc.tar.xz
mv-732c2012ec337bfebb1a12c1822e98e5c61e79bc.zip
Add missing resource manager init into unit tests.
Diffstat (limited to 'src/animatedsprite_unittest.cc')
-rw-r--r--src/animatedsprite_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/animatedsprite_unittest.cc b/src/animatedsprite_unittest.cc
index 804d24187..3256f6dc7 100644
--- a/src/animatedsprite_unittest.cc
+++ b/src/animatedsprite_unittest.cc
@@ -45,6 +45,7 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite")
XML::initXML();
SDL_Init(SDL_INIT_VIDEO);
logger = new Logger();
+ ResourceManager::init();
resourceManager->addToSearchPath("data", false);
resourceManager->addToSearchPath("../data", false);