diff options
author | Stijn Buys <ingar@osirion.org> | 2010-12-08 13:31:56 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-12-08 13:31:56 +0000 |
commit | 5be8beddb96efd9ee8229e11b3a4c6aa954d0723 (patch) | |
tree | a34c30e38609b9fed74bf704a1871f73f3eb20e0 /src/client | |
parent | e88766103ca0448d5b88c517f30372696bce9219 (diff) |
Ignore the angle keys on map sounds, corrected audio position for model sound loops.
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); } } } |