mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-12 03:39:10 +00:00
add source-sdk-2013
This commit is contained in:
@@ -831,8 +831,8 @@ void DrawSplineSegs( int noise_divisions, float *prgNoise,
|
||||
}
|
||||
else if ( flags & FBEAM_SHADEOUT )
|
||||
{
|
||||
float fadeFractionOut = fadeLength/length;
|
||||
brightness = 1.0 - (fraction/ fadeFractionOut);
|
||||
float fadeFraction = fadeLength/length;
|
||||
brightness = 1.0 - (fraction/fadeFraction);
|
||||
if (brightness < 0)
|
||||
{
|
||||
brightness = 0;
|
||||
|
||||
Reference in New Issue
Block a user