fix a bug when COCOS2D_DEBUG >=1, CCAssert haven't the second param.

This commit is contained in:
dumganhar 2011-11-30 09:32:07 +08:00
parent 4bdd70ab90
commit 68297f0121
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ void CCScheduler::scheduleUpdateForTarget(SelectorProtocol *pTarget, int nPriori
if (pHashElement)
{
#if COCOS2D_DEBUG >= 1
CCAssert(pHashElement->entry->markedForDeletion);
CCAssert(pHashElement->entry->markedForDeletion,"");
#endif
// TODO: check if priority has changed!