Add positional sounds from the tilemap

This commit is contained in:
2014-06-13 23:14:02 -07:00
parent cd55667a8c
commit 52846724da

View File

@@ -106,7 +106,7 @@ SoundSprite.prototype.update_new_values = function() {
console.log("Sound should be playing");
}
SoundSprite.prototype.adjust_relative_to = function(spr) {
SoundSprite.prototype.adjust_relative_to = function(me, spr) {
if ( this.sound_nofade == true ) {
this.sound.volume = 1.0;
return;