Merge pull request #1024 from ShetiPhian/patch-1
Add a variable for SoundCategory in PlaySoundEvent17
This commit is contained in:
commit
094d80fe66
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue