mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 19:00:33 +02:00
Fix METL heating NTCT or PTCT through insulator
This commit is contained in:
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];
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user