upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Dynamic light.
//
@@ -90,7 +90,7 @@ bool CDynamicLight::KeyValue( const char *szKeyName, const char *szValue )
if ( FStrEq( szKeyName, "_light" ) )
{
color32 tmp;
UTIL_StringToColor32( &tmp, szValue );
V_StringToColor32( &tmp, szValue );
SetRenderColor( tmp.r, tmp.g, tmp.b );
}
else if ( FStrEq( szKeyName, "pitch" ) )
@@ -169,7 +169,7 @@ void CDynamicLight::Spawn( void )
SetNextThink( gpGlobals->curtime + 0.1 );
}
int clampedExponent = clamp( (int) m_Exponent, MIN_DL_EXPONENT_VALUE, MAX_DL_EXPONENT_VALUE );
int clampedExponent = clamp( m_Exponent, MIN_DL_EXPONENT_VALUE, MAX_DL_EXPONENT_VALUE );
if ( m_Exponent != clampedExponent )
{
Warning( "light_dynamic at [%d %d %d] has invalid exponent value (%d must be between %d and %d).\n",