mirror of https://github.com/axmolengine/axmol.git
Update CCControlButton.cpp
This commit is contained in:
parent
f5efc49903
commit
3edef12094
|
@ -74,7 +74,7 @@ bool ControlButton::initWithLabelAndBackgroundSprite(Node* node, Scale9Sprite* b
|
|||
CCASSERT(node != nullptr, "node must not be nil.");
|
||||
LabelProtocol* label = dynamic_cast<LabelProtocol*>(node);
|
||||
CCASSERT(backgroundSprite != nullptr, "Background sprite must not be nil.");
|
||||
CCASSERT(label != nullptr, "label must not be nil.);
|
||||
CCASSERT(label != nullptr, "label must not be nil.");
|
||||
|
||||
_parentInited = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue