Skip to content

Commit 6ea20e8

Browse files
committed
Update OALTools.m
fullPathForFilename does not accept absolute paths, thus is not allowed to pass an absolute path to playBg:loop: (and others).
1 parent 2cd5c4d commit 6ea20e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/ObjectAL/Support/OALTools.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ + (NSURL*) urlForPath:(NSString*) path bundle:(NSBundle*) bundle
6767
return nil;
6868
}
6969

70-
NSString* fullPath = [[CCFileUtils sharedFileUtils] fullPathForFilename:path];
70+
NSString* fullPath = [[CCFileUtils sharedFileUtils] fullPathForFilenameIgnoringResolutions:path];
7171
if(nil == fullPath)
7272
{
7373
OAL_LOG_ERROR(@"Could not find full path of file %@", path);

0 commit comments

Comments
 (0)