summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 8c45cfc3c..d8e695b7a 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -43,6 +43,7 @@
#ifdef USE_OPENGL
#include "resources/db/mapdb.h"
#include "resources/loaders/atlasloader.h"
+#include "resources/loaders/emptyatlasloader.h"
#endif
#include "resources/map/tileanimation.h"
@@ -1250,7 +1251,7 @@ void MapReader::loadEmptyAtlas()
paths.getStringValue("emptyAtlasName"));
if (info)
{
- mEmptyAtlas = Loader::getAtlas(
+ mEmptyAtlas = Loader::getEmptyAtlas(
info->atlas,
*info->files);
}