Fix for commit d71a0d98: also adjust melting point of BRMT(TUNG) based on TUNG HighTemperature value

This commit is contained in:
jacksonmj
2015-03-05 00:14:26 +00:00
parent 8f57c9a6c7
commit 84f6ede2b8

View File

@@ -3563,7 +3563,7 @@ void Simulation::UpdateParticles(int start, int end)
{ {
if (parts[i].ctype == PT_TUNG) if (parts[i].ctype == PT_TUNG)
{ {
if (ctemph < 3695.0) if (ctemph < elements[parts[i].ctype].HighTemperature)
s = 0; s = 0;
else else
{ {