dlls/particle_smokegrenade.cpp
454647484950
// enters the PVS late will see the smoke start billowing from then, allowing better vision.
int ParticleSmokeGrenade::UpdateTransmitState( void )
{
if ( IsEffectActive( EF_NODRAW ) )
return SetTransmitState( FL_EDICT_DONTSEND );
4546474849505152535455565758
// enters the PVS late will see the smoke start billowing from then, allowing better vision.
int ParticleSmokeGrenade::UpdateTransmitState( void )
{
// --> FF
#ifdef GAME_DLL
// always transmit if you're an objective
if ( m_ObjectivePlayerRefs.Count() > 0 )
return SetTransmitState( FL_EDICT_ALWAYS );
#endif // GAME_DLL
// <-- FF
if ( IsEffectActive( EF_NODRAW ) )
return SetTransmitState( FL_EDICT_DONTSEND );