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-02-25 22:24:25 +0000
committerStijn Buys <ingar@osirion.org>2010-02-25 22:24:25 +0000
commit11a5ebe38a83383970425baf53d4595ae56efe70 (patch)
tree99c59f3cd07c829122c2673563a8e32388aefdd5 /src/client/targets.cc
parent90fbc4c5caf5afd54920894319448b74967399ba (diff)
looped sound support for fx_sound model tags
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 d915f20..cc7f29f 100644
--- a/src/client/targets.cc
+++ b/src/client/targets.cc
@@ -330,7 +330,7 @@ void frame()
core::Entity *entity = (*it);
// render entity sound
- if (entity->type() == core::Entity::Controlable) {
+ if ((entity->type() == core::Entity::Controlable) || (entity->model() && entity->model()->sounds().size())) {
render_entity_sound(entity);
}