mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Added weapon script keyvalues for unique dropped model and whether or not to use the separate hands model
This commit is contained in:
@@ -487,7 +487,11 @@ void CBaseCombatWeapon::Kill( void )
|
||||
//-----------------------------------------------------------------------------
|
||||
void CBaseCombatWeapon::FallInit( void )
|
||||
{
|
||||
#ifdef MAPBASE
|
||||
SetModel( (GetDroppedModel() && GetDroppedModel()[0]) ? GetDroppedModel() : GetWorldModel() );
|
||||
#else
|
||||
SetModel( GetWorldModel() );
|
||||
#endif
|
||||
VPhysicsDestroyObject();
|
||||
|
||||
if ( !VPhysicsInitNormal( SOLID_BBOX, GetSolidFlags() | FSOLID_TRIGGER, false ) )
|
||||
|
||||
Reference in New Issue
Block a user