diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-19 00:45:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-19 00:45:39 +0300 |
commit | ae70ae002eb3b28b84ed9027a6e1d20985f6a087 (patch) | |
tree | 6832dab3552bb27a4376a64a84c7c24a603fdc72 /src/resources/atlas | |
parent | a5e3bb0e1600c36da180a47c4c6a0a0b9a260a7c (diff) | |
download | plus-ae70ae002eb3b28b84ed9027a6e1d20985f6a087.tar.gz plus-ae70ae002eb3b28b84ed9027a6e1d20985f6a087.tar.bz2 plus-ae70ae002eb3b28b84ed9027a6e1d20985f6a087.tar.xz plus-ae70ae002eb3b28b84ed9027a6e1d20985f6a087.zip |
Add physfs reporting errors on error loading images.
Diffstat (limited to 'src/resources/atlas')
-rw-r--r-- | src/resources/atlas/atlasmanager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/atlas/atlasmanager.cpp b/src/resources/atlas/atlasmanager.cpp index 4e9028027..90b72b4d6 100644 --- a/src/resources/atlas/atlasmanager.cpp +++ b/src/resources/atlas/atlasmanager.cpp @@ -166,6 +166,10 @@ void AtlasManager::loadImages(const StringVect &files, images.push_back(image); } } + else + { + reportAlways("Physfs error: %s", PhysFs::getLastError()); + } delete d; } BLOCK_END("AtlasManager::loadImages") |