summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-12 17:21:21 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-12 17:21:21 (GMT)
commit95a9b96dc9ce652f8e4411199adafd248dab314b (patch)
treea9d880d5c17dbdfe6caf76a49f8e8812f0eeec67 /src
parente0ab8c5810bb943548331d74eee98cad91389fc8 (diff)
downloadpowder-95a9b96dc9ce652f8e4411199adafd248dab314b.zip
powder-95a9b96dc9ce652f8e4411199adafd248dab314b.tar.gz
TPT: Don't hide stickman when energy particles pass through his head 9f0c4857e
Diffstat (limited to 'src')
-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