From 68297f0121dc66378d94dbb93c14274200f32039 Mon Sep 17 00:00:00 2001 From: dumganhar Date: Wed, 30 Nov 2011 09:32:07 +0800 Subject: [PATCH] fix a bug when COCOS2D_DEBUG >=1, CCAssert haven't the second param. --- cocos2dx/CCScheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/CCScheduler.cpp b/cocos2dx/CCScheduler.cpp index eb879549e8..5a21345ef3 100644 --- a/cocos2dx/CCScheduler.cpp +++ b/cocos2dx/CCScheduler.cpp @@ -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!