mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-06 16:36:32 +02:00
Fix typo, HUD variable should be Tmp, not Temp, #111
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user