Merge branch 'fairy-ring-sfx' into 'master'

Add fairy ring teleportation sound effect.

See merge request 2009scape/2009scape!331
This commit is contained in:
Ceikry 2021-11-11 22:26:43 +00:00
commit fca4174d9a
2 changed files with 6 additions and 2 deletions

View file

@ -49,4 +49,5 @@
- Fix Yak Hide Armor crafting level requirements
- Spiky Vambraces crafing added
- Fixed Typo in Professor Oddenstein's dialogue
- Random Events can no longer spawn in the wilderness.
- Random Events can no longer spawn in the wilderness.
- Fairy rings emit a sound when teleporting.

View file

@ -447,6 +447,9 @@ public class TeleportManager {
switch (++delay) {
case 2:
entity.animate(Animation.create(3265));
if(entity instanceof Player) {
((Player) entity).getAudioManager().send(1098, 1);
}
break;
case 4:
Quest quest = null;
@ -834,4 +837,4 @@ public class TeleportManager {
public void setTeleportType(int teleportType) {
this.teleportType = teleportType;
}
}
}