Update AppDelegate.cpp

This commit is contained in:
Nako Sung 2013-09-09 22:38:37 +09:00
parent bf4eaa7e7c
commit 31e3faaa4f
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ void UpdateLayer::update(cocos2d::Object *pSender)
pProgressLabel->setString("");
// update resources
getAssetsManager()->update();
pAssetsManager->update();
isUpdateItemClicked = true;
}
@ -114,7 +114,7 @@ void UpdateLayer::reset(cocos2d::Object *pSender)
system(command.c_str());
#endif
// Delete recorded version codes.
getAssetsManager()->deleteVersion();
pAssetsManager->deleteVersion();
createDownloadedDir();
}