diff options
author | Stijn Buys <ingar@osirion.org> | 2012-11-14 17:55:37 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-11-14 17:55:37 +0000 |
commit | 14ed501d65ac3adab668669bf91116ec2b8301fa (patch) | |
tree | 0b1e6ee6dd6d2a478e4136adc06d6f6c183d69a1 /src | |
parent | 4a20c54293e7065ec1f4f6e8c48cdf8c05582a01 (diff) |
Mark docked entities as unpowered which prevents entity sounds from being played.
Diffstat (limited to 'src')
-rw-r--r-- | src/render/renderext.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |