mirror of https://github.com/axmolengine/axmol.git
[Win32] fix: after call CCApplication::setResourceRootPath(), CCFileUtils::fullPathFromRelativePath() not check resourceDirectory
This commit is contained in:
parent
a5e34ee754
commit
eae5f7368e
|
@ -96,6 +96,7 @@ const char* CCFileUtils::fullPathFromRelativePath(const char *pszRelativePath)
|
||||||
else if (resourceRootPath.length() > 0)
|
else if (resourceRootPath.length() > 0)
|
||||||
{
|
{
|
||||||
pRet->m_sString = resourceRootPath.c_str();
|
pRet->m_sString = resourceRootPath.c_str();
|
||||||
|
pRet->m_sString += m_obDirectory.c_str();
|
||||||
pRet->m_sString += pszRelativePath;
|
pRet->m_sString += pszRelativePath;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue