mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Initial Mapbase commit (squashed from mapbase-beta)
This commit is contained in:
@@ -308,8 +308,12 @@ void CSimpleEmitter::UpdateVelocity( SimpleParticle *pParticle, float timeDelta
|
||||
{
|
||||
if (pParticle->m_iFlags & SIMPLE_PARTICLE_FLAG_WINDBLOWN)
|
||||
{
|
||||
#ifdef MAPBASE
|
||||
Vector vecWind = GetWindspeedAtLocation( pParticle->m_Pos );
|
||||
#else
|
||||
Vector vecWind;
|
||||
GetWindspeedAtTime( gpGlobals->curtime, vecWind );
|
||||
#endif
|
||||
|
||||
for ( int i = 0 ; i < 2 ; i++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user