diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 00f10d569..acc667156 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -3283,7 +3283,7 @@ void Simulation::update_particles_i(int start, int inc) s = 1; //A fix for ice with ctype = 0 - if (t==PT_ICEI && (parts[i].ctype==0 || parts[i].ctype>=PT_NUM || parts[i].ctype==PT_ICEI)) + if ((t==PT_ICEI || t==PT_SNOW) && (parts[i].ctype==0 || parts[i].ctype>=PT_NUM || parts[i].ctype==PT_ICEI || parts[i].ctype==PT_SNOW)) parts[i].ctype = PT_WATR; if (ctemph>elements[t].HighTemperature&&elements[t].HighTemperatureTransition>-1) { @@ -3307,9 +3307,9 @@ void Simulation::update_particles_i(int start, int inc) if (elements[t].HighTemperatureTransition!=PT_NUM) t = elements[t].HighTemperatureTransition; #endif - else if (t==PT_ICEI) { - if (parts[i].ctype