diff --git a/cocos2d/CCSpriteFrameCache.m b/cocos2d/CCSpriteFrameCache.m index c159cbd9414..e2e9d91fc0c 100644 --- a/cocos2d/CCSpriteFrameCache.m +++ b/cocos2d/CCSpriteFrameCache.m @@ -79,7 +79,7 @@ +(id)alloc +(void)purgeSharedSpriteFrameCache { - [CCSpriteFrameCache sharedSpriteFrameCache] removeSpriteFrames]; + [[CCSpriteFrameCache sharedSpriteFrameCache] removeSpriteFrames]; } -(id) init