mirror of https://github.com/axmolengine/axmol.git
fix a type information in CCBAnimationManager
This commit is contained in:
parent
6c16142ca9
commit
d5533fcf15
|
@ -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
|
Loading…
Reference in New Issue