mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-30 22:19:19 +00:00
upload "kind" alien swarm
This commit is contained in:
+3
-8
@@ -1,4 +1,4 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
|
||||
//
|
||||
// Purpose: A gib is a chunk of a body, or a piece of wood/metal/rocks/etc.
|
||||
//
|
||||
@@ -342,7 +342,7 @@ void CGib::WaitTillLand ( void )
|
||||
|
||||
if ( GetAbsVelocity() == vec3_origin )
|
||||
{
|
||||
SetRenderColorA( 255 );
|
||||
SetRenderAlpha( 255 );
|
||||
m_nRenderMode = kRenderTransTexture;
|
||||
if ( GetMoveType() != MOVETYPE_VPHYSICS )
|
||||
{
|
||||
@@ -587,7 +587,7 @@ void CGib::Spawn( const char *szGibModel )
|
||||
|
||||
// sometimes an entity inherits the edict from a former piece of glass,
|
||||
// and will spawn using the same render FX or m_nRenderMode! bad!
|
||||
SetRenderColorA( 255 );
|
||||
SetRenderAlpha( 255 );
|
||||
m_nRenderMode = kRenderNormal;
|
||||
m_nRenderFX = kRenderFxNone;
|
||||
|
||||
@@ -599,11 +599,6 @@ void CGib::Spawn( const char *szGibModel )
|
||||
|
||||
SetModel( szGibModel );
|
||||
|
||||
#ifdef HL1_DLL
|
||||
SetElasticity( 1.0 );
|
||||
UTIL_SetSize( this, vec3_origin, vec3_origin );
|
||||
#endif//HL1_DLL
|
||||
|
||||
SetNextThink( gpGlobals->curtime + 4 );
|
||||
m_lifeTime = 25;
|
||||
SetTouch ( &CGib::BounceGibTouch );
|
||||
|
||||
Reference in New Issue
Block a user