Fix for incorrect method name

This commit is contained in:
rh101 2021-08-17 14:51:17 +10:00
parent c60f66c9bb
commit 4a0d48d93e
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ void SpriteFrameCacheHelper::removeSpriteFrameFromFile(const std::string &plistP
void SpriteFrameCacheHelper::addSpriteFrameFromFile(const std::string& plistPath, const std::string& imagePath)
{
SpriteFrameCache::getInstance()->addSpriteFramesWithFileAndTexture(plistPath, imagePath);
SpriteFrameCache::getInstance()->addSpriteFramesWithFile(plistPath, imagePath);
retainSpriteFrames(plistPath);
}