Skip to content

Commit

Permalink
Only show wavelengths in HUD if there is at least one valid wavelength
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonmj committed Oct 29, 2015
1 parent 9a9f80f commit d1dcae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/game/GameView.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit d1dcae5

Please sign in to comment.