Add positional sounds from the tilemap

This commit is contained in:
2014-06-14 00:10:22 -07:00
parent 456c47998b
commit 170b1124e3
2 changed files with 1 additions and 3 deletions

View File

@@ -100,11 +100,9 @@ SoundSprite.prototype.update_new_values = function() {
this.sound_volume,
this.sound_loop,
this.sound_forcerestart);
console.log("Sound should be playing");
}
SoundSprite.prototype.adjust_relative_to = function(spr) {
console.log(spr);
if ( this.sound_nofade == true ) {
this.sound.volume = 1.0;
return;