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/mapreader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/mapreader.h') diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h index 781a52cca..37b511d03 100644 --- a/src/resources/mapreader.h +++ b/src/resources/mapreader.h @@ -99,7 +99,8 @@ class MapReader final static void updateMusic(Map *const map) A_NONNULL(1); - static void addLayerToList(const std::string &fileName); + static void addLayerToList(const std::string &fileName, + const SkipError skipError); static void loadLayers(const std::string &path); -- cgit v1.2.3-60-g2f50