Merge pull request #1024 from ShetiPhian/patch-1

Add a variable for SoundCategory in PlaySoundEvent17
This commit is contained in:
LexManos 2014-04-03 19:59:56 -07:00
commit 094d80fe66

View file

@ -16,12 +16,14 @@ public class PlaySoundEvent17 extends SoundEvent
{
public final String name;
public final ISound sound;
public final SoundCategory category;
public ISound result;
public PlaySoundEvent17(SoundManager manager, ISound sound, SoundCategory category)
{
super(manager);
this.sound = sound;
this.category = category;
this.name = sound.getPositionedSoundLocation().getResourcePath();
this.result = sound;
}