summaryrefslogtreecommitdiff
path: root/src/resources/sprite/animatedsprite_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sprite/animatedsprite_unittest.cc')
-rw-r--r--src/resources/sprite/animatedsprite_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc
index 715ce76b8..c924580a6 100644
--- a/src/resources/sprite/animatedsprite_unittest.cc
+++ b/src/resources/sprite/animatedsprite_unittest.cc
@@ -34,6 +34,7 @@
#include "resources/animation/animation.h"
#include "utils/env.h"
+#include "utils/mrand.h"
#include "utils/physfstools.h"
#include "debug.h"
@@ -42,6 +43,7 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite")
{
setEnv("SDL_VIDEODRIVER", "dummy");
+ initRand();
client = new Client;
PHYSFS_init("manaplus");
dirSeparator = "/";