Looped sounds were not checking to see if that sound type was enabled
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3980 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -338,6 +338,9 @@ public class SoundManager
|
||||
*/
|
||||
public Frob loop (SoundType type, String pkgPath, String key)
|
||||
{
|
||||
if (!isEnabled(type)) {
|
||||
return null;
|
||||
}
|
||||
SoundKey skey = new SoundKey(LOOP, pkgPath, key, 0, _clipVol, 0f);
|
||||
addToPlayQueue(skey);
|
||||
return skey; // it is a frob
|
||||
|
||||
Reference in New Issue
Block a user