From 816d812ea26b72adc091b3ba819e1650351a4685 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 2 Feb 2016 10:23:57 +0100 Subject: [PATCH] Fixed: Use absolute path of current directory instead of relative path (avoid to check more than once the same location) --- code/ryzom/client/src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/init.cpp b/code/ryzom/client/src/init.cpp index 8daabdaa5..faa83b51c 100644 --- a/code/ryzom/client/src/init.cpp +++ b/code/ryzom/client/src/init.cpp @@ -659,7 +659,7 @@ static void addPaths(IProgressCallback &progress, const std::vector std::vector directoryPrefixes; // current directory has priority everywhere - directoryPrefixes.push_back(""); + directoryPrefixes.push_back(CPath::standardizePath(CPath::getCurrentPath())); #if defined(NL_OS_WINDOWS) // check in same directory as executable