mirror of https://github.com/axmolengine/axmol.git
issue #2521: Fixing a logical error in CCBReader::addOwnerOutletNode. 'NULL != node' --> 'NULL == node'.
This commit is contained in:
parent
331f0ef7b0
commit
a34c70d253
|
@ -1081,7 +1081,7 @@ void CCBReader::addOwnerOutletName(std::string name)
|
||||||
|
|
||||||
void CCBReader::addOwnerOutletNode(Node *node)
|
void CCBReader::addOwnerOutletNode(Node *node)
|
||||||
{
|
{
|
||||||
if (NULL != node)
|
if (NULL == node)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_ownerOutletNodes->addObject(node);
|
_ownerOutletNodes->addObject(node);
|
||||||
|
|
Loading…
Reference in New Issue