Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix a type information in CCBAnimationManager

  • Loading branch information...
commit a1b80fad6cc0acc2423f88d5a1bfd27531f7767a 1 parent def530a
@minggo minggo authored
View
2  extensions/CCBReader/CCBAnimationManager.cpp
@@ -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)
{
2  tools/cxx-generator
@@ -1 +1 @@
-Subproject commit ab8a6c0823d396f4d1e2cfb5de2314da653c657f
+Subproject commit e4761d02b363515a293adb637fd8ab4a99db9722
Please sign in to comment.
Something went wrong with that request. Please try again.