From 14ed501d65ac3adab668669bf91116ec2b8301fa Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 14 Nov 2012 17:55:37 +0000 Subject: Mark docked entities as unpowered which prevents entity sounds from being played. --- src/render/renderext.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/render') diff --git a/src/render/renderext.cc b/src/render/renderext.cc index 20c4cae..b96bdfe 100644 --- a/src/render/renderext.cc +++ b/src/render/renderext.cc @@ -142,6 +142,7 @@ void RenderExt::frame(float elapsed) if (controlable->state() == core::Entity::Docked) { state_visible = false; + state_power = false; return; } -- cgit v1.2.3