Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 117c62d..9ab32a6 100644
--- a/src/client/soundext.cc
+++ b/src/client/soundext.cc
@@ -185,7 +185,7 @@ void SoundExt::frame(float elapsed)
float speed = 0;
float pitch = 1.0f;
float gain = 0.0;
- float r = (entity()->model() ? entity()->model()->maxbbox().x() : entity()->radius());
+ float r = (entity()->model() ? entity()->model()->box().max().x() : entity()->radius());
math::Vector3f velocity;