Permalink
Browse files

Only show wavelengths in HUD if there is at least one valid wavelength

  • Loading branch information...
jacksonmj committed Oct 29, 2015
1 parent 9a9f80f commit d1dcae557440b3553076fa20d7c9a38545af3c5c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/game/GameView.cpp
@@ -2245,7 +2245,7 @@ void GameView::OnDraw()
ctype = sample.particle.tmp&0xFF;
if (type == PT_PHOT || type == PT_BIZR || type == PT_BIZRG || type == PT_BIZRS || type == PT_FILT || type == PT_BRAY)
wavelengthGfx = ctype;
wavelengthGfx = (ctype&0x3FFFFFFF);
if (showDebug)
{

0 comments on commit d1dcae5

Please sign in to comment.