Permalink
Browse files

Show Tmp2 in HUD for elements that use it

  • Loading branch information...
jbot-42 committed Oct 18, 2015
1 parent c0cdb62 commit cf615c323f708d475f694f4fc37aa418aaf72654
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/gui/game/GameView.cpp
@@ -2278,6 +2278,12 @@ void GameView::OnDraw()
sampleInfo << ", Temp: " << std::fixed << sample.particle.temp -273.15f << " C";
sampleInfo << ", Life: " << sample.particle.life;
sampleInfo << ", Tmp: " << sample.particle.tmp;
if (sample.particle.type == PT_CRAY || sample.particle.type == PT_DRAY || sample.particle.type == PT_EXOT || sample.particle.type == PT_LIGH || sample.particle.type == PT_PIPE || sample.particle.type == PT_SOAP || sample.particle.type == PT_STOR || sample.particle.type == PT_TRON || sample.particle.type == PT_VIBR || sample.particle.type == PT_VIRS || sample.particle.type == PT_WARP) {
sampleInfo << ", Tmp2: " << sample.particle.tmp2;
}
sampleInfo << ", Pressure: " << std::fixed << sample.AirPressure;
}
else

0 comments on commit cf615c3

Please sign in to comment.