fixed #516 ccactionmanager.cpp L289: 'if (UINT_MAX == i)' modify to 'if (UINT_MAX != i)'

This commit is contained in:
liswei 2011-06-15 09:56:33 +08:00
parent 585792f3da
commit c6cd929dac
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ void CCActionManager::removeAction(cocos2d::CCAction *pAction)
if (pElement)
{
unsigned int i = ccArrayGetIndexOfObject(pElement->actions, pAction);
if (UINT_MAX == i)
if (UINT_MAX != i)
{
removeActionAtIndex(i, pElement);
}