diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-06-07 23:09:00 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-06-08 09:14:32 +0200 |
commit | 73988e234568429b053bda79c241496791c8cb45 (patch) | |
tree | 61d28002dc15e90c007c9e5a34653ff7fbead487 | |
parent | f90d1a1bcd8b82886cf8ae07f0d0d83e11e2f53d (diff) | |
download | mana-73988e234568429b053bda79c241496791c8cb45.tar.gz mana-73988e234568429b053bda79c241496791c8cb45.tar.bz2 mana-73988e234568429b053bda79c241496791c8cb45.tar.xz mana-73988e234568429b053bda79c241496791c8cb45.zip |
Made error on imageset loading a bit more informative
Reviewed-by: bjorn.
-rw-r--r-- | src/resources/spritedef.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp index c1f74ec8..7ccf1ff6 100644 --- a/src/resources/spritedef.cpp +++ b/src/resources/spritedef.cpp @@ -161,7 +161,8 @@ void SpriteDef::loadImageSet(xmlNodePtr node, const std::string &palettes) if (!imageSet) { - logger->error("Couldn't load imageset!"); + logger->error(strprintf("Couldn't load imageset (%s)!", + imageSrc.c_str()).c_str()); } imageSet->setOffsetX(XML::getProperty(node, "offsetX", 0)); |