diff options
| author | Simon 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) |
| commit | 03f455bc1af60e74beabcf4576d6098cb627a196 (patch) | |
| tree | c8bc903ca194e7a5befb06adce2f0c8a5b49d116 /src/game/GameView.cpp | |
| parent | 079b51a26c90718c7cd67033a570a0a45b2f38f6 (diff) | |
| download | powder-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.cpp | 6 |
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 { |
