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>2013-11-23 14:02:14 +0000
committerStijn Buys <ingar@osirion.org>2013-11-23 14:02:14 +0000
commit93bb759aeb71537a98386693918b28b37961a103 (patch)
tree350a6b2eda28b9649ce4a8dcab5aa4b8eca97bee /src/client/targets.cc
parent7afa635b4728e504ca6ec3bf64223efe0f991f67 (diff)
Support for EntityDynamic explosion sounds, minor SoundExt cleanups.
Diffstat (limited to 'src/client/targets.cc')
-rw-r--r--src/client/targets.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/targets.cc b/src/client/targets.cc
index 466b4a9..a35ebe7 100644
--- a/src/client/targets.cc
+++ b/src/client/targets.cc
@@ -515,7 +515,7 @@ void frame()
core::Entity *entity = (*it);
// render entity sound
- if ((entity->type() == core::Entity::Controlable) || (entity->type() == core::Entity::Projectile) || (entity->model() && entity->model()->sounds().size())) {
+ if ((entity->type() == core::Entity::Dynamic) || (entity->type() == core::Entity::Controlable) || (entity->type() == core::Entity::Projectile) || (entity->model() && entity->model()->sounds().size())) {
render_entity_sound(entity);
}