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

This commit is contained in:
jacksonmj 2015-10-29 07:14:35 +00:00
parent 9a9f80fefa
commit d1dcae5574

View File

@ -2245,7 +2245,7 @@ void GameView::OnDraw()
ctype = sample.particle.tmp&0xFF; ctype = sample.particle.tmp&0xFF;
if (type == PT_PHOT || type == PT_BIZR || type == PT_BIZRG || type == PT_BIZRS || type == PT_FILT || type == PT_BRAY) 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) if (showDebug)
{ {