diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-10 20:29:16 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-10 20:29:16 (GMT) |
| commit | 6d307b47b5e91202f9cc1a4cc299475ff0d68493 (patch) | |
| tree | 4589094062de1c15262a428fe486d87476ea7d29 /src/graphics.c | |
| parent | 303a32f2903d763d73060a28449e1d723f905f2b (diff) | |
| download | powder-6d307b47b5e91202f9cc1a4cc299475ff0d68493.zip powder-6d307b47b5e91202f9cc1a4cc299475ff0d68493.tar.gz | |
Revert "Make THDR TYPE_ENERGY again, so it goes in photon map"
This reverts commit 8b20bfd764308fddc1280b8a9d030e77503d0b0c.
TYPE_ENERGY makes THDR move like photons, and means adjacent particles
don't conduct as much heat from it (since the heat conduction code only
looks for particles in pmap, not photons).
Heat transfer could be fixed by increasing THDR's heat conductivity, but
gas or powder movement is probably better than photon movement for THDR.
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 0f3a474..c82a20a 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 |
