diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/renderext.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/renderext.cc b/src/render/renderext.cc index 8ec31bf..51b7976 100644 --- a/src/render/renderext.cc +++ b/src/render/renderext.cc @@ -136,12 +136,12 @@ void RenderExt::frame(float elapsed) state_visible = false; return; } -/* + if ((controlable == core::localcontrol()) && (Camera::mode() == Camera::Cockpit)) { state_visible = false; return; } -*/ + if ((controlable->state() == core::Entity::NoPower) || (controlable->state() == core::Entity::Destroyed)) { state_power = false; } |