From 9fba28f6e7545d52d750946ef90e8a7d7e108424 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Sun, 31 Dec 2017 16:33:18 +0500 Subject: [PATCH] Fix smoke. --- cl_dll/ev_hldm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cl_dll/ev_hldm.cpp b/cl_dll/ev_hldm.cpp index 8ce7d187..3a69c052 100644 --- a/cl_dll/ev_hldm.cpp +++ b/cl_dll/ev_hldm.cpp @@ -311,12 +311,12 @@ void EV_HLDM_GunshotDecalTrace( pmtrace_t *pTrace, char *decalName ) TEMPENTITY* pSmoke = gEngfuncs.pEfxAPI->R_TempSprite( position, // position velocity, // velocity - gEngfuncs.pfnRandomFloat( 30, 35 ) / 100, // scale + 0.4, // scale modelindex, // model index kRenderNormal, // rendermode kRenderFxNoDissipation, // renderfx - gEngfuncs.pfnRandomFloat( 0.25, 0.5 ), // alpha - 0.01, // life + 1.0, // alpha + 0.3, // life FTENT_SPRCYCLE | FTENT_FADEOUT); // flags if( pSmoke )