TPT: Fix the bug where you could set bad temp to insulators. 64629df1af

This commit is contained in:
Simon Robertshaw 2012-04-18 21:35:14 +01:00
parent f8b1e1a232
commit 0cc8f84e63

View File

@ -2878,6 +2878,7 @@ void Simulation::update_particles_i(int start, int inc)
}
}
}
else parts[i].temp = restrict_flt(parts[i].temp, MIN_TEMP, MAX_TEMP);
}
if (t==PT_LIFE)