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/soundext.cc')
-rw-r--r--src/client/soundext.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/soundext.cc b/src/client/soundext.cc
index dd86a70..9de548b 100644
--- a/src/client/soundext.cc
+++ b/src/client/soundext.cc
@@ -14,7 +14,7 @@
#include "core/entityprojectile.h"
#include "client/soundext.h"
#include "client/client.h"
-#include "render/camera.h"
+#include "render/draw.h"
#include <sstream>
#include <iomanip>
@@ -45,7 +45,7 @@ void render_listener_sound()
(*snd_volume) = master_volume;
}
- audio::update_listener(render::Camera::eye(), render::Camera::axis(), velocity, master_volume);
+ audio::update_listener(render::camera().location(), render::camera().axis(), velocity, master_volume);
}
void render_entity_sound(core::Entity *entity)