diff options
Diffstat (limited to 'src/resources/db/weaponsdb.cpp')
-rw-r--r-- | src/resources/db/weaponsdb.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/db/weaponsdb.cpp b/src/resources/db/weaponsdb.cpp index 3b7860ffd..475b5970e 100644 --- a/src/resources/db/weaponsdb.cpp +++ b/src/resources/db/weaponsdb.cpp @@ -34,14 +34,16 @@ namespace bool mLoaded = false; } -static void loadDB(const std::string &name, WeaponsInfos &arr) +static void loadDB(const std::string &name, + WeaponsInfos &arr) { readXmlIntVector(paths.getStringValue("weaponsFile"), "weapons", name, "item", "id", - arr); + arr, + SkipError_false); } void WeaponsDB::load() |