summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-09-06 13:30:09 (GMT)
committer Simon <simon@hardwired.org.uk>2010-09-06 13:30:09 (GMT)
commit6b27bc06ff48b22417193d7ac2ca7609c94100e3 (patch)
treed95043f580c81f20324365ee078f0a5327548653
parente4d256a0ee8644d35a16255d9e8c8826e367bd69 (diff)
downloadpowder-6b27bc06ff48b22417193d7ac2ca7609c94100e3.zip
powder-6b27bc06ff48b22417193d7ac2ca7609c94100e3.tar.gz
Fix METL heating NTCT or PTCT through insulator
-rw-r--r--powder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/powder.c b/powder.c
index cbe1fb7..5d1355a 100644
--- a/powder.c
+++ b/powder.c
@@ -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;
}