mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-08 16:35:09 +02:00
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;
|
||||
|
||||
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user