cl_dll/clientsideeffects_test.cpp
300301302303304305306
dist = VectorNormalize( dir );
// Don't make short tracers.
if ( dist >= 256 )
{
float length = random->RandomFloat( 64.0f, 128.0f );
float life = ( dist + length ) / velocity; //NOTENOTE: We want the tail to finish its run as well
300301302303304305306
dist = VectorNormalize( dir );
// Don't make short tracers.
//if ( dist >= 256 ) // |-- Mirv: any length allowed for now
{
float length = random->RandomFloat( 64.0f, 128.0f );
float life = ( dist + length ) / velocity; //NOTENOTE: We want the tail to finish its run as well