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: Volumetric dust motes.
|
||||
//
|
||||
@@ -83,7 +83,7 @@ public:
|
||||
};
|
||||
|
||||
IMPLEMENT_SERVERCLASS_ST_NOBASE( CFunc_Dust, DT_Func_Dust )
|
||||
SendPropInt( SENDINFO(m_Color), 32, SPROP_UNSIGNED ),
|
||||
SendPropInt( SENDINFO(m_Color), 32, SPROP_UNSIGNED, SendProxy_Color32ToInt32 ),
|
||||
SendPropInt( SENDINFO(m_SpawnRate), 12, SPROP_UNSIGNED ),
|
||||
SendPropInt( SENDINFO(m_SpeedMax), 12, SPROP_UNSIGNED ),
|
||||
SendPropFloat( SENDINFO(m_flSizeMin), 0, SPROP_NOSCALE ),
|
||||
@@ -162,7 +162,7 @@ void CFunc_Dust::Spawn()
|
||||
|
||||
//Since keyvalues can arrive in any order, and UTIL_StringToColor32 stomps alpha,
|
||||
//install the alpha value here.
|
||||
color32 clr = { m_Color.m_Value.r, m_Color.m_Value.g, m_Color.m_Value.b, (uint8)m_iAlpha };
|
||||
color32 clr = { m_Color.m_Value.r, m_Color.m_Value.g, m_Color.m_Value.b, m_iAlpha };
|
||||
m_Color.Set( clr );
|
||||
|
||||
BaseClass::Spawn();
|
||||
|
||||
Reference in New Issue
Block a user