Add a log

This commit is contained in:
samuele3hu 2014-06-10 16:56:07 +08:00
parent 90907f451e
commit 46e5b72827
1 changed files with 1 additions and 0 deletions

View File

@ -285,6 +285,7 @@ int LuaStack::executeScriptFile(const char* filename)
fullPath = FileUtils::getInstance()->fullPathForFilename(restructuringFileName); fullPath = FileUtils::getInstance()->fullPathForFilename(restructuringFileName);
if (!FileUtils::getInstance()->isFileExist(fullPath)) if (!FileUtils::getInstance()->isFileExist(fullPath))
{ {
CCLOG("executeScriptFile function can't find the file");
return 1; return 1;
} }
} }