diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-09 10:08:11 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-09 10:08:11 (GMT) |
| commit | 8b20bfd764308fddc1280b8a9d030e77503d0b0c (patch) | |
| tree | fe5c3a7799972b43188085fc9420ab98f4709e9c /src/graphics.c | |
| parent | 6603baa538673f073fd5ecfd383ab294e75409ba (diff) | |
| download | powder-8b20bfd764308fddc1280b8a9d030e77503d0b0c.zip powder-8b20bfd764308fddc1280b8a9d030e77503d0b0c.tar.gz | |
Make THDR TYPE_ENERGY again, so it goes in photon map
Will simplify checking for excessive stacking
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c index c82a20a..0f3a474 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1808,7 +1808,7 @@ void render_parts(pixel *vid) #endif - if(photons[ny][nx]&0xFF && !(ptypes[t].properties & TYPE_ENERGY) && t!=PT_STKM && t!=PT_STKM2 && t!=PT_FIGH) + if((photons[ny][nx]&0xFF) && !(ptypes[t].properties & TYPE_ENERGY) && t!=PT_STKM && t!=PT_STKM2 && t!=PT_FIGH) continue; //Defaults |
