fixed #1664:fixed a logical error in CCAtlasNode::setOpacityModifyRGB()

This commit is contained in:
minggo 2013-01-18 16:40:42 +08:00
parent 56382ec753
commit 6379b61400
1 changed files with 2 additions and 2 deletions

View File

@ -179,9 +179,9 @@ void CCAtlasNode::setOpacity(GLubyte opacity)
void CCAtlasNode::setOpacityModifyRGB(bool bValue)
{
ccColor3B oldColor = this->m_tColor;
ccColor3B oldColor = this->getColor();
m_bIsOpacityModifyRGB = bValue;
this->m_tColor = oldColor;
this->setColor(oldColor);
}
bool CCAtlasNode::isOpacityModifyRGB()