Add positional sounds from the tilemap

This commit is contained in:
2014-06-13 23:15:30 -07:00
parent 21989b2634
commit a51c3f30db

View File

@@ -1077,7 +1077,7 @@ GameState.prototype.update = function()
}
function _fix_audio_relative(x) {
x.adjust_relative_to(this.player);
x.adjust_relative_to_player();
}
this.staticSounds.forEach(_fix_audio_relative, this);