From d5a00a320043f5782ebc489285c89943b667e094 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 May 2016 00:18:57 +0300 Subject: Add skipError parameter to loadXml functions. This allow not show errors for some not main xml files. --- src/resources/db/skillunitdb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/resources/db/skillunitdb.h') diff --git a/src/resources/db/skillunitdb.h b/src/resources/db/skillunitdb.h index 4498d4e62..83a135699 100644 --- a/src/resources/db/skillunitdb.h +++ b/src/resources/db/skillunitdb.h @@ -24,6 +24,7 @@ #define RESOURCES_DB_SKILLUNITDB_H #include "enums/simpletypes/beingtypeid.h" +#include "enums/simpletypes/skiperror.h" #include @@ -35,7 +36,8 @@ namespace SkillUnitDb { void load(); - void loadXmlFile(const std::string &fileName); + void loadXmlFile(const std::string &fileName, + const SkipError skipError); void unload(); -- cgit v1.2.3-70-g09d2