diff options
Diffstat (limited to 'src/resources/monsterdb.cpp')
-rw-r--r-- | src/resources/monsterdb.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index 5a796f5f..b08d87f2 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -30,6 +30,7 @@ #include "utils/xml.h" #include "net/net.h" +#include "configuration.h" #define OLD_TMWATHENA_OFFSET 1002 @@ -45,7 +46,7 @@ void MonsterDB::load() if (mLoaded) unload(); - mUnknown.addSprite("error.xml"); + mUnknown.addSprite(paths.getValue("spriteErrorFile", "error.xml")); logger->log("Initializing monster database..."); |