FF Diff Viewer

Comparing 2006 Base SDK to Fortress Forever 2.46

dlls/effects.cpp

112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148
return GetLocalOrigin(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void UTIL_BloodSpray( const Vector &pos, const Vector &dir, int color, int amount, int flags ) { if( color == DONT_BLEED ) return; CEffectData data; data.m_vOrigin = pos; data.m_vNormal = dir; data.m_flScale = (float)amount; data.m_fFlags = flags; data.m_nColor = (unsigned char)color; DispatchEffect( "bloodspray", data ); } //----------------------------------------------------------------------------- // Purpose: Input handler for triggering the blood effect. //----------------------------------------------------------------------------- void CBlood::InputEmitBlood( inputdata_t &inputdata )
1122112311241125112611271128
return GetLocalOrigin(); } //----------------------------------------------------------------------------- // Purpose: Input handler for triggering the blood effect. //----------------------------------------------------------------------------- void CBlood::InputEmitBlood( inputdata_t &inputdata )
228222832284228522862287
if ( gpGlobals->maxClients > 1 ) { CBaseEntity::PrecacheScriptSound( "HudChat.Message" ); } }
2262226322642265226622672268
if ( gpGlobals->maxClients > 1 ) { CBaseEntity::PrecacheScriptSound( "HudChat.Message" ); CBaseEntity::PrecacheScriptSound( "HudChat.TeamMessage" ); } }