summaryrefslogtreecommitdiff
path: root/src/animatedsprite_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-29 01:20:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-29 01:20:53 +0300
commit436088e97ae3ee8bcfd0530139579fc62271bbc5 (patch)
tree9e5a42285d826c37bfc54ac264fbe25ba6ae52d1 /src/animatedsprite_unittest.cc
parentcfbb335f67a350cf23adb62ee536330312185f58 (diff)
downloadplus-436088e97ae3ee8bcfd0530139579fc62271bbc5.tar.gz
plus-436088e97ae3ee8bcfd0530139579fc62271bbc5.tar.bz2
plus-436088e97ae3ee8bcfd0530139579fc62271bbc5.tar.xz
plus-436088e97ae3ee8bcfd0530139579fc62271bbc5.zip
Fix error and warnings in test compilation.
Diffstat (limited to 'src/animatedsprite_unittest.cc')
-rw-r--r--src/animatedsprite_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/animatedsprite_unittest.cc b/src/animatedsprite_unittest.cc
index df9104e31..10994c7f7 100644
--- a/src/animatedsprite_unittest.cc
+++ b/src/animatedsprite_unittest.cc
@@ -30,13 +30,14 @@
#include "resources/sdlimagehelper.h"
#include "resources/spriteaction.h"
+#include "utils/env.h"
#include "utils/physfstools.h"
#include "debug.h"
TEST_CASE("AnimatedSprite tests", "animatedsprite")
{
- Client::setEnv("SDL_VIDEODRIVER", "dummy");
+ setEnv("SDL_VIDEODRIVER", "dummy");
client = new Client;
PHYSFS_init("manaplus");