repairs to bot_procedrual for hash injector options format

This commit is contained in:
Stephen Birarda 2014-11-11 10:57:07 -08:00
parent 853c0197a1
commit bfc25767ed

View file

@ -134,13 +134,11 @@ function playRandomSound() {
} }
function playRandomFootstepSound() { function playRandomFootstepSound() {
var whichSound = Math.floor((Math.random() * footstepSounds.length)); var whichSound = Math.floor((Math.random() * footstepSounds.length));
var options = new AudioInjectionOptions(); Audio.playSound(footstepSounds[whichSound], {
options.position = Avatar.position; position: Avatar.position,
options.volume = 1.0; volume: 1.0
Audio.playSound(footstepSounds[whichSound], options); });
} }
// ************************************ Facial Animation ********************************** // ************************************ Facial Animation **********************************