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:
parent
90da9659d1
commit
4a5f34089d
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user