Fix typo, HUD variable should be Tmp, not Temp, #111
This commit is contained in:
parent
079b51a26c
commit
03f455bc1a
@ -1847,17 +1847,13 @@ void GameView::OnDraw()
|
|||||||
{
|
{
|
||||||
sampleInfo << c->ElementResolve(sample.particle.type);
|
sampleInfo << c->ElementResolve(sample.particle.type);
|
||||||
if(sample.particle.ctype > 0 && sample.particle.ctype < PT_NUM)
|
if(sample.particle.ctype > 0 && sample.particle.ctype < PT_NUM)
|
||||||
{
|
|
||||||
sampleInfo << " (" << c->ElementResolve(sample.particle.ctype) << ")";
|
sampleInfo << " (" << c->ElementResolve(sample.particle.ctype) << ")";
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
sampleInfo << " ()";
|
sampleInfo << " ()";
|
||||||
}
|
|
||||||
sampleInfo << ", Pressure: " << std::fixed << sample.AirPressure;
|
sampleInfo << ", Pressure: " << std::fixed << sample.AirPressure;
|
||||||
sampleInfo << ", Temp: " << std::fixed << sample.particle.temp -273.15f;
|
sampleInfo << ", Temp: " << std::fixed << sample.particle.temp -273.15f;
|
||||||
sampleInfo << ", Life: " << sample.particle.life;
|
sampleInfo << ", Life: " << sample.particle.life;
|
||||||
sampleInfo << ", Temp: " << sample.particle.tmp;
|
sampleInfo << ", Tmp: " << sample.particle.tmp;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user