Reset molten SLCN tmp in reactions to prevent interference with products

This commit is contained in:
Tamás Bálint Misius 2020-11-26 09:19:56 +01:00
parent 2f85557505
commit 091764533d
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -176,11 +176,13 @@ int Element_FIRE_update(UPDATE_FUNC_ARGS)
parts[i].ctype = PT_STNE;
break;
}
parts[i].tmp = 0;
sim->kill_part(ID(r));
continue;
}
else if (rt == PT_LAVA && (parts[ID(r)].ctype == PT_METL || parts[ID(r)].ctype == PT_BMTL) && parts[i].ctype == PT_SLCN)
{
parts[i].tmp = 0;
parts[i].ctype = PT_NSCN;
parts[ID(r)].ctype = PT_PSCN;
}