fix BRMT always acting like it was created from TUGN
This commit is contained in:
parent
53ae6ee517
commit
06fb97bc40
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,7 +11,7 @@
|
|||||||
*.lua
|
*.lua
|
||||||
stdout.txt
|
stdout.txt
|
||||||
stderr.txt
|
stderr.txt
|
||||||
build/*
|
build*/*
|
||||||
stamps/*
|
stamps/*
|
||||||
Saves/*
|
Saves/*
|
||||||
generated/*
|
generated/*
|
||||||
|
@ -3854,13 +3854,20 @@ void Simulation::update_particles_i(int start, int inc)
|
|||||||
}
|
}
|
||||||
else if (t == PT_BRMT)
|
else if (t == PT_BRMT)
|
||||||
{
|
{
|
||||||
if (parts[i].ctype == PT_TUNG && ctemph <= 3695.0)
|
if (parts[i].ctype == PT_TUNG)
|
||||||
s = 0;
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
t = PT_LAVA;
|
if (ctemph <= 3695.0)
|
||||||
parts[i].type = PT_TUNG;
|
s = 0;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
t = PT_LAVA;
|
||||||
|
parts[i].type = PT_TUNG;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
else if (ctemph >= elements[t].HighTemperature)
|
||||||
|
t = PT_LAVA;
|
||||||
|
else
|
||||||
|
s = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
s = 0;
|
s = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user