mirror of https://github.com/axmolengine/axmol.git
type
This commit is contained in:
parent
f0620b0e85
commit
1beea771b4
|
@ -1074,7 +1074,9 @@ void LayerMultiplex::addLayer(Layer* layer)
|
|||
}
|
||||
|
||||
bool LayerMultiplex::init()
|
||||
if (Layer::init()) {
|
||||
{
|
||||
if (Layer::init())
|
||||
{
|
||||
_layers = Array::create();
|
||||
_layers->retain();
|
||||
|
||||
|
@ -1083,6 +1085,7 @@ bool LayerMultiplex::init()
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool LayerMultiplex::initWithLayers(Layer *layer, va_list params)
|
||||
{
|
||||
if (Layer::init())
|
||||
|
|
Loading…
Reference in New Issue