From 95a9b96dc9ce652f8e4411199adafd248dab314b Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 12 Jun 2012 18:21:21 +0100 Subject: [PATCH] TPT: Don't hide stickman when energy particles pass through his head 9f0c4857e --- src/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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