diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/soundext.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/soundext.cc b/src/client/soundext.cc index 9ab32a6..db8f642 100644 --- a/src/client/soundext.cc +++ b/src/client/soundext.cc @@ -250,7 +250,7 @@ void SoundExt::frame(float elapsed) for (Sounds::iterator it = state_soundlist.begin(); it != state_soundlist.end(); it++) { client::Sound *sound = *it; if (sound->source()) { - audio::update_source(sound->source(), sound->location() + entity()->location(), velocity, 1.0f, 1.0f); + audio::update_source(sound->source(), entity()->location() + entity()->axis() * sound->location(), velocity, 1.0f, 1.0f); } } } |