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()))) if(!(d = opendir(fileFolder.c_str())))
{ {
printf("error opendir %s!!!\n",path); CCLOG("error opendir %s!!!\n",fileFolder.c_str());
return -1; return false;
} }
while((file = readdir(d)) != NULL) while((file = readdir(d)) != NULL)
{ {