mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-07 17:06:37 +02:00
Only show wavelengths in HUD if there is at least one valid wavelength
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user