From 93bb759aeb71537a98386693918b28b37961a103 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 23 Nov 2013 14:02:14 +0000 Subject: Support for EntityDynamic explosion sounds, minor SoundExt cleanups. --- src/client/targets.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/targets.cc') 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); } -- cgit v1.2.3