mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-04 23:47:25 +02:00
Fixed CLST tmp value carrying over when converted by water
This commit is contained in:
@@ -62,6 +62,7 @@ int Element_CLST::update(UPDATE_FUNC_ARGS)
|
|||||||
{
|
{
|
||||||
if (!(rand()%1500))
|
if (!(rand()%1500))
|
||||||
{
|
{
|
||||||
|
parts[i].tmp = 0;
|
||||||
sim->part_change_type(i,x,y,PT_PSTS);
|
sim->part_change_type(i,x,y,PT_PSTS);
|
||||||
sim->kill_part(r>>8);
|
sim->kill_part(r>>8);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user