Skip to content

Commit 42a37d3

Browse files
author
Thayer J Andrews
committed
CCEffectStack - Don't be afraid of messaging nil.
1 parent 73ff763 commit 42a37d3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cocos2d/CCEffectStack.m

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,7 @@ - (void)passesDidChange:(id)sender
326326
// change notification up the tree (if we're not at the
327327
// top).
328328
_passesDirty = YES;
329-
if (self.owningStack)
330-
{
331-
[self.owningStack passesDidChange:self];
332-
}
329+
[self.owningStack passesDidChange:self];
333330
}
334331

335332

0 commit comments

Comments
 (0)