mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-27 23:24:29 +00:00
Fix HUD status icons color in singleplayer.
This commit is contained in:
parent
d1d76a4ba7
commit
d6c579ecd8
@ -391,8 +391,6 @@ int CHudHealth::DrawDamage( float flTime )
|
|||||||
UnpackRGB( r, g, b, RGB_REDISH );
|
UnpackRGB( r, g, b, RGB_REDISH );
|
||||||
}
|
}
|
||||||
|
|
||||||
UnpackRGB( r, g, b, RGB_YELLOWISH );
|
|
||||||
|
|
||||||
a = (int)( fabs( sin( flTime * 2 ) ) * 256.0 );
|
a = (int)( fabs( sin( flTime * 2 ) ) * 256.0 );
|
||||||
|
|
||||||
ScaleColors( r, g, b, a );
|
ScaleColors( r, g, b, a );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user