summaryrefslogtreecommitdiff
path: root/src/Renderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Renderer.cpp')
-rw-r--r--src/Renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Renderer.cpp b/src/Renderer.cpp
index 58d4444..63746c9 100644
--- a/src/Renderer.cpp
+++ b/src/Renderer.cpp
@@ -804,7 +804,7 @@ void Renderer::render_parts()
fnx = sim->parts[i].x;
fny = sim->parts[i].y;
- if((sim->photons[ny][nx]&0xFF) && !(elements[t].Properties & TYPE_ENERGY))
+ if((sim->photons[ny][nx]&0xFF) && !(sim->elements[t].Properties & TYPE_ENERGY) && t!=PT_STKM && t!=PT_STKM2 && t!=PT_FIGH)
continue;
//Defaults