mirror of https://github.com/axmolengine/axmol.git
fix compile
This commit is contained in:
parent
bdd7da89a1
commit
a50efe998f
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue