mirror of https://github.com/axmolengine/axmol.git
fixed #756: CCMenu can't be initialized by using CCMenu::node() method.
This commit is contained in:
parent
94342f85e0
commit
49b57569c9
|
@ -80,8 +80,7 @@ namespace cocos2d{
|
|||
|
||||
bool CCMenu::init()
|
||||
{
|
||||
va_list args;
|
||||
return initWithItems(NULL, args);
|
||||
return initWithItems(NULL, NULL);
|
||||
}
|
||||
|
||||
bool CCMenu::initWithItems(CCMenuItem* item, va_list args)
|
||||
|
|
Loading…
Reference in New Issue