mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
repairs to bot_procedrual for hash injector options format
This commit is contained in:
parent
853c0197a1
commit
bfc25767ed
1 changed files with 5 additions and 7 deletions
|
@ -134,13 +134,11 @@ function playRandomSound() {
|
|||
}
|
||||
|
||||
function playRandomFootstepSound() {
|
||||
|
||||
var whichSound = Math.floor((Math.random() * footstepSounds.length));
|
||||
var options = new AudioInjectionOptions();
|
||||
options.position = Avatar.position;
|
||||
options.volume = 1.0;
|
||||
Audio.playSound(footstepSounds[whichSound], options);
|
||||
|
||||
var whichSound = Math.floor((Math.random() * footstepSounds.length));
|
||||
Audio.playSound(footstepSounds[whichSound], {
|
||||
position: Avatar.position,
|
||||
volume: 1.0
|
||||
});
|
||||
}
|
||||
|
||||
// ************************************ Facial Animation **********************************
|
||||
|
|
Loading…
Reference in a new issue