JS Sound.load() now handles customsounds.plist keys as intended.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3950 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
71793e8ef8
commit
eb97254346
@ -155,7 +155,7 @@ static OOSound *GetNamedSound(NSString *name)
|
||||
{
|
||||
OOSound *sound = nil;
|
||||
|
||||
if ([name hasPrefix:@"["] && [name hasSuffix:@"["])
|
||||
if ([name hasPrefix:@"["] && [name hasSuffix:@"]"])
|
||||
{
|
||||
sound = [OOSound soundWithCustomSoundKey:name];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user