diff options
| author | Simon <simon@hardwired.org.uk> | 2010-09-06 13:30:09 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-09-06 13:30:09 (GMT) |
| commit | 6b27bc06ff48b22417193d7ac2ca7609c94100e3 (patch) | |
| tree | d95043f580c81f20324365ee078f0a5327548653 | |
| parent | e4d256a0ee8644d35a16255d9e8c8826e367bd69 (diff) | |
| download | powder-6b27bc06ff48b22417193d7ac2ca7609c94100e3.zip powder-6b27bc06ff48b22417193d7ac2ca7609c94100e3.tar.gz | |
Fix METL heating NTCT or PTCT through insulator
| -rw-r--r-- | powder.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -938,7 +938,7 @@ void update_particles_i(pixel *vid, int start, int inc) r = pmap[y+ny][x+nx]; if((r>>8)>=NPART || !r) continue; - if((r&0xFF)==PT_SPRK && parts[r>>8].ctype==PT_METL) + if((r&0xFF)==PT_SPRK && parts[r>>8].ctype==PT_METL && pavg(i, r>>8)!=PT_INSL) { parts[i].temp = 473.0f; } |
