diff --git a/src/Renderer.cpp b/src/Renderer.cpp index 58d44446b..63746c9cd 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