Skip to content

Commit

Permalink
Merge pull request #271 from jBot-42/master
Browse files Browse the repository at this point in the history
Show Tmp2 in the HUD for elements that use it
  • Loading branch information
jacob1 committed Oct 19, 2015
2 parents c0cdb62 + 6ee0bc4 commit 7f50529
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gui/game/GameView.cpp
Expand Up @@ -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_SOAP || 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
Expand Down

0 comments on commit 7f50529

Please sign in to comment.