summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-14 17:59:16 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-14 18:00:13 (GMT)
commit03f455bc1af60e74beabcf4576d6098cb627a196 (patch)
treec8bc903ca194e7a5befb06adce2f0c8a5b49d116 /src/game/GameView.cpp
parent079b51a26c90718c7cd67033a570a0a45b2f38f6 (diff)
downloadpowder-03f455bc1af60e74beabcf4576d6098cb627a196.zip
powder-03f455bc1af60e74beabcf4576d6098cb627a196.tar.gz
Fix typo, HUD variable should be Tmp, not Temp, #111
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index fa5385f..13cac1a 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1847,17 +1847,13 @@ void GameView::OnDraw()
{
sampleInfo << c->ElementResolve(sample.particle.type);
if(sample.particle.ctype > 0 && sample.particle.ctype < PT_NUM)
- {
sampleInfo << " (" << c->ElementResolve(sample.particle.ctype) << ")";
- }
else
- {
sampleInfo << " ()";
- }
sampleInfo << ", Pressure: " << std::fixed << sample.AirPressure;
sampleInfo << ", Temp: " << std::fixed << sample.particle.temp -273.15f;
sampleInfo << ", Life: " << sample.particle.life;
- sampleInfo << ", Temp: " << sample.particle.tmp;
+ sampleInfo << ", Tmp: " << sample.particle.tmp;
}
else
{