summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-06 23:35:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-06 23:48:59 +0300
commit4c8e7ad74f2709125659deaf1b4ddd10623740dc (patch)
treed05bd73bdc535e3d1a5777789f24ac5fd12b438c /src/resources/mapreader.cpp
parentee41cd5a5a37e4d41df49cd92c61868fe2ce1a51 (diff)
downloadmanaverse-4c8e7ad74f2709125659deaf1b4ddd10623740dc.tar.gz
manaverse-4c8e7ad74f2709125659deaf1b4ddd10623740dc.tar.bz2
manaverse-4c8e7ad74f2709125659deaf1b4ddd10623740dc.tar.xz
manaverse-4c8e7ad74f2709125659deaf1b4ddd10623740dc.zip
Add support for load pseudo atlas, where atlas and each image in it will not use any images.
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);
}