fix compile

This commit is contained in:
yangxiao 2015-02-16 11:57:07 +08:00
parent bdd7da89a1
commit a50efe998f
1 changed files with 2 additions and 2 deletions

View File

@ -170,8 +170,8 @@ bool PUParticle3DMaterialCache::loadMaterialsFromSearchPaths( const std::string
if(!(d = opendir(fileFolder.c_str())))
{
printf("error opendir %s!!!\n",path);
return -1;
CCLOG("error opendir %s!!!\n",fileFolder.c_str());
return false;
}
while((file = readdir(d)) != NULL)
{