Backed out changeset: ce73fd40aa54

--HG--
branch : develop
This commit is contained in:
Nimetu 2019-04-25 08:28:45 +03:00
parent 4940620f55
commit d67a9ccdb5

View file

@ -185,7 +185,7 @@ bool CIFile::open(const std::string &path, bool text)
// Bigfile or xml pack access requested ? // Bigfile or xml pack access requested ?
string::size_type pos; string::size_type pos;
if (!CFile::fileExists(path) && (pos = path.find('@')) != string::npos) if ((pos = path.find('@')) != string::npos)
{ {
// check for a double @ to identify XML pack file // check for a double @ to identify XML pack file
if (pos+1 < path.size() && path[pos+1] == '@') if (pos+1 < path.size() && path[pos+1] == '@')