[Win32] fix: after call CCApplication::setResourceRootPath(), CCFileUtils::fullPathFromRelativePath() not check resourceDirectory

This commit is contained in:
dualface 2012-09-06 09:49:38 +08:00
parent a5e34ee754
commit eae5f7368e
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ const char* CCFileUtils::fullPathFromRelativePath(const char *pszRelativePath)
else if (resourceRootPath.length() > 0)
{
pRet->m_sString = resourceRootPath.c_str();
pRet->m_sString += m_obDirectory.c_str();
pRet->m_sString += pszRelativePath;
}
else