mirror of https://github.com/axmolengine/axmol.git
Update AppDelegate.cpp
This commit is contained in:
parent
bf4eaa7e7c
commit
31e3faaa4f
samples/Cpp/AssetsManagerTest/Classes
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue