Fix METL heating NTCT or PTCT through insulator
This commit is contained in:
parent
e4d256a0ee
commit
6b27bc06ff
2
powder.c
2
powder.c
@ -938,7 +938,7 @@ void update_particles_i(pixel *vid, int start, int inc)
|
|||||||
r = pmap[y+ny][x+nx];
|
r = pmap[y+ny][x+nx];
|
||||||
if((r>>8)>=NPART || !r)
|
if((r>>8)>=NPART || !r)
|
||||||
continue;
|
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;
|
parts[i].temp = 473.0f;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user