mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 21:49:20 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user