From edf1d12f65197ef665fb8c1d145789475e89da6f Mon Sep 17 00:00:00 2001 From: Nimetu Date: Sun, 4 Nov 2018 18:14:52 +0200 Subject: [PATCH] Fixed: Opening local file with @ char in filename. --HG-- branch : develop --- code/nel/src/misc/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/misc/file.cpp b/code/nel/src/misc/file.cpp index 414a10e5a..54ffdfbc6 100644 --- a/code/nel/src/misc/file.cpp +++ b/code/nel/src/misc/file.cpp @@ -185,7 +185,7 @@ bool CIFile::open(const std::string &path, bool text) // Bigfile or xml pack access requested ? string::size_type pos; - if ((pos = path.find('@')) != string::npos) + if (!CFile::fileExists(path) && (pos = path.find('@')) != string::npos) { // check for a double @ to identify XML pack file if (pos+1 < path.size() && path[pos+1] == '@')