cocos2d/cocos2d-x — pull request #688 by dumganhar (2012-01-28 06:43:28+00:00)
Title: fixed #756: CCMenu can't be initialized by using CCMenu::node() method.

Refer to http://www.cocos2d-x.org/boards/6/topics/4649

The fix is trivial - when using CCMenu::node(), the va_list variable is uninitialised (hence the run-time check failure).

The corrected code for this method is:

bool CCMenu::init() {
va_list args=NULL;
return initWithItems(NULL, args);
}