mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-25 17:20:47 +02:00
Fix SNOW(WATR) melting temperature
Broken by fixing SNOW(SLTW) melting temperature in a78bd78bfc
This commit is contained in:
@@ -3880,7 +3880,7 @@ void Simulation::update_particles_i(int start, int inc)
|
|||||||
{
|
{
|
||||||
if (parts[i].ctype > 0 && parts[i].ctype < PT_NUM && parts[i].ctype != t)
|
if (parts[i].ctype > 0 && parts[i].ctype < PT_NUM && parts[i].ctype != t)
|
||||||
{
|
{
|
||||||
if (elements[parts[i].ctype].LowTemperatureTransition==t && pt<elements[parts[i].ctype].LowTemperature)
|
if ((elements[parts[i].ctype].LowTemperatureTransition==PT_ICEI || elements[parts[i].ctype].LowTemperatureTransition==PT_SNOW) && pt<elements[parts[i].ctype].LowTemperature)
|
||||||
s = 0;
|
s = 0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user