mirror of https://github.com/axmolengine/axmol.git
Adding a space for target variable.
This commit is contained in:
parent
e5ef579cb3
commit
37acbbe4fb
|
@ -585,7 +585,7 @@ CCObject* CCBAnimationManager::actionForCallbackChannel(CCBSequenceProperty* cha
|
||||||
actions->addObject(callback);
|
actions->addObject(callback);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
CCObject*target = NULL;
|
CCObject* target = NULL;
|
||||||
if(selectorTarget == kCCBTargetTypeDocumentRoot) target = mRootNode;
|
if(selectorTarget == kCCBTargetTypeDocumentRoot) target = mRootNode;
|
||||||
else if (selectorTarget == kCCBTargetTypeOwner) target = mOwner;
|
else if (selectorTarget == kCCBTargetTypeOwner) target = mOwner;
|
||||||
if(target != NULL) {
|
if(target != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue