diff options
| author | Simon 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) |
| commit | 95a9b96dc9ce652f8e4411199adafd248dab314b (patch) | |
| tree | a9d880d5c17dbdfe6caf76a49f8e8812f0eeec67 /src/Renderer.cpp | |
| parent | e0ab8c5810bb943548331d74eee98cad91389fc8 (diff) | |
| download | powder-95a9b96dc9ce652f8e4411199adafd248dab314b.zip powder-95a9b96dc9ce652f8e4411199adafd248dab314b.tar.gz | |
TPT: Don't hide stickman when energy particles pass through his head 9f0c4857e
Diffstat (limited to 'src/Renderer.cpp')
| -rw-r--r-- | src/Renderer.cpp | 2 |
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 |
