diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-06 23:35:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-06 23:48:59 +0300 |
commit | 4c8e7ad74f2709125659deaf1b4ddd10623740dc (patch) | |
tree | d05bd73bdc535e3d1a5777789f24ac5fd12b438c /src/resources/mapreader.cpp | |
parent | ee41cd5a5a37e4d41df49cd92c61868fe2ce1a51 (diff) | |
download | manaplus-4c8e7ad74f2709125659deaf1b4ddd10623740dc.tar.gz manaplus-4c8e7ad74f2709125659deaf1b4ddd10623740dc.tar.bz2 manaplus-4c8e7ad74f2709125659deaf1b4ddd10623740dc.tar.xz manaplus-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.cpp | 3 |
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); } |