Skip to content

Commit

Permalink
Fixing a build problem that looks to be a result of an XCode change
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgroves committed May 24, 2018
1 parent a5c3897 commit c2b7952
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cocos2d/CCRendererBasicTypes.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ @interface CCBlendModeCache : CCCache

@implementation CCBlendModeCache

-(id)objectForKey:(id<NSCopying>)options
// See https://github.com/cocos2d/cocos2d-objc/issues/1394 - something changed in XCode 9.4? Original code broke around May 2018
//-(id)objectForKey:(id<NSCopying>)options
-(id)objectForKey:(id)options
{
CCBlendMode *blendMode = [self rawObjectForKey:options];
if(blendMode) return blendMode;
Expand Down

0 comments on commit c2b7952

Please sign in to comment.