Skip to content

Commit

Permalink
Fix SNOW(WATR) melting temperature
Browse files Browse the repository at this point in the history
Broken by fixing SNOW(SLTW) melting temperature in a78bd78
  • Loading branch information
jacksonmj committed Oct 31, 2014
1 parent 2fc1dcb commit 02e1969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/Simulation.cpp
Expand Up @@ -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 (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;
else
{
Expand Down

0 comments on commit 02e1969

Please sign in to comment.