fix a type information in CCBAnimationManager

This commit is contained in:
minggo 2012-12-10 11:30:07 +08:00
parent 6c16142ca9
commit d5533fcf15
2 changed files with 2 additions and 2 deletions

View File

@ -421,7 +421,7 @@ void CCBAnimationManager::setAnimatedProperty(const char *pPropName, CCNode *pNo
else if (strcmp(pPropName, "color") == 0)
{
ccColor3BWapper *color = (ccColor3BWapper*)pValue;
((CCSprite*)pNode)->setColor(color->getColor());
(dynamic_cast<CCRGBAProtocol*>(pNode))->setColor(color->getColor());
}
else if (strcmp(pPropName, "visible") == 0)
{

@ -1 +1 @@
Subproject commit ab8a6c0823d396f4d1e2cfb5de2314da653c657f
Subproject commit e4761d02b363515a293adb637fd8ab4a99db9722