Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-12-08 13:31:56 +0000
committerStijn Buys <ingar@osirion.org>2010-12-08 13:31:56 +0000
commit5be8beddb96efd9ee8229e11b3a4c6aa954d0723 (patch)
treea34c30e38609b9fed74bf704a1871f73f3eb20e0 /src/client
parente88766103ca0448d5b88c517f30372696bce9219 (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.cc2
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);
}
}
}