2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2025-01-14 20:40:27 +01:00

engine: client: fix TriColor4fRendermode

This commit is contained in:
Alibek Omarov 2024-07-28 20:50:20 +03:00
parent 90da9659d1
commit 4a5f34089d

View File

@ -3305,7 +3305,7 @@ Heavy legacy of Quake...
*/
void TriColor4fRendermode( float r, float g, float b, float a, int rendermode )
{
if( clgame.ds.renderMode == kRenderTransAlpha )
if( rendermode == kRenderTransAlpha )
{
clgame.ds.triRGBA[3] = a / 255.0f;
ref.dllFuncs.Color4f( r, g, b, a );