summaryrefslogtreecommitdiff
path: root/src/resources/db/npcdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-06 00:35:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-06 00:35:07 +0300
commitd38328a5986f17e0e9f6183869ac446c040e4722 (patch)
tree64abca5d9b060a6a687254232002fee56e0978d5 /src/resources/db/npcdb.cpp
parent5090180c23dd53de111c316286639d3ba8277468 (diff)
downloadplus-d38328a5986f17e0e9f6183869ac446c040e4722.tar.gz
plus-d38328a5986f17e0e9f6183869ac446c040e4722.tar.bz2
plus-d38328a5986f17e0e9f6183869ac446c040e4722.tar.xz
plus-d38328a5986f17e0e9f6183869ac446c040e4722.zip
add support for patch files for items.xml, npcs.xml, monsters.xml
Diffstat (limited to 'src/resources/db/npcdb.cpp')
-rw-r--r--src/resources/db/npcdb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/db/npcdb.cpp b/src/resources/db/npcdb.cpp
index a7bc2121a..486f63952 100644
--- a/src/resources/db/npcdb.cpp
+++ b/src/resources/db/npcdb.cpp
@@ -48,6 +48,7 @@ void NPCDB::load()
logger->log1("Initializing NPC database...");
loadXmlFile(paths.getStringValue("npcsFile"));
+ loadXmlFile(paths.getStringValue("npcsPatchFile"));
mLoaded = true;
}