We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd06292 commit d027420Copy full SHA for d027420
cocos2d/CCPhysicsNode.m
@@ -517,7 +517,7 @@ -(NSUInteger)indexForCategory:(NSString *)category
517
{
518
// Add the category if it doesn't exist yet.
519
if(![_categories containsObject:category]){
520
- NSAssert(_categories.count <= MAX_CATEGORIES, @"A space can only track up to %d categories.", MAX_CATEGORIES);
+ NSAssert(_categories.count < MAX_CATEGORIES, @"A space can only track up to %d categories.", MAX_CATEGORIES);
521
[_categories addObject:category];
522
}
523
0 commit comments