issue #18, debug _cmd

This commit is contained in:
Walzer 2010-08-03 07:25:47 +00:00
parent 4f357e5872
commit 3914006a99
1 changed files with 3 additions and 1 deletions

View File

@ -115,7 +115,9 @@ void CCTransitionScene::finish()
void CCTransitionScene::setNewScene(ccTime dt)
{
//[self unschedule:_cmd];
// [self unschedule:_cmd];
// "_cmd" is a local variable automatically defined in a method
// that contains the selector for the method
this->unschedule(schedule_selector(CCTransitionScene::setNewScene));
CCDirector *director = CCDirector::getSharedDirector();
// Before replacing, save the "send cleanup to scene"