Only show wavelengths in HUD if there is at least one valid wavelength
This commit is contained in:
parent
9a9f80fefa
commit
d1dcae5574
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user