Initial Mapbase commit (squashed from mapbase-beta)

This commit is contained in:
Blixibon
2019-08-31 19:28:20 +00:00
parent 0d8dceea43
commit 3d464bc051
816 changed files with 105527 additions and 957 deletions

View File

@@ -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++ )
{