diff options
Diffstat (limited to 'src/progs')
-rw-r--r-- | src/progs/dyecmd/client.cpp | 10 | ||||
-rw-r--r-- | src/progs/manaplus/client.cpp | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp index 7046be25d..199f91ecd 100644 --- a/src/progs/dyecmd/client.cpp +++ b/src/progs/dyecmd/client.cpp @@ -163,7 +163,11 @@ void Client::gameInit() // Load branding information if (!settings.options.brandingPath.empty()) - branding.init(settings.options.brandingPath); + { + branding.init(settings.options.brandingPath, + UseVirtFs_false, + SkipError_false); + } setBrandingDefaults(branding); Dirs::initRootDir(); @@ -683,7 +687,9 @@ int Client::gameExec() } logger->log("Init paths"); - paths.init("paths.xml", UseVirtFs_true); + paths.init("paths.xml", + UseVirtFs_true, + SkipError_false); setPathsDefaults(paths); initPaths(); TranslationManager::loadCurrentLang(); diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index 380453c19..89de4cb5b 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -282,7 +282,11 @@ void Client::gameInit() assertListener = new AssertListener; // Load branding information if (!settings.options.brandingPath.empty()) - branding.init(settings.options.brandingPath); + { + branding.init(settings.options.brandingPath, + UseVirtFs_false, + SkipError_false); + } setBrandingDefaults(branding); Dirs::initRootDir(); @@ -1907,7 +1911,9 @@ void Client::loadData() } logger->log("Init paths"); - paths.init("paths.xml", UseVirtFs_true); + paths.init("paths.xml", + UseVirtFs_true, + SkipError_false); setPathsDefaults(paths); initPaths(); if (SpriteReference::Empty == nullptr) |