From ac489c929573c8a4df27c486d3a7a472eb9731fb Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 29 Jul 2017 22:54:39 -0400 Subject: [PATCH] hide .tmp in HUD for RFRG and RFGL --- src/gui/game/GameView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index 719d1a6a8..3bcecbf69 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -2325,7 +2325,8 @@ 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_RFRG && sample.particle.type != PT_RFGL) + sampleInfo << ", Tmp: " << sample.particle.tmp; // only elements that use .tmp2 show it in the debug HUD if (type == PT_CRAY || type == PT_DRAY || type == PT_EXOT || type == PT_LIGH || type == PT_SOAP || type == PT_TRON || type == PT_VIBR || type == PT_VIRS || type == PT_WARP || type == PT_LCRY || type == PT_CBNW || type == PT_TSNS || type == PT_DTEC || type == PT_LSNS || type == PT_PSTN)