1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00

Updated EmitSound_t (bug 5376).

This commit is contained in:
Nicholas Hastings 2013-02-14 08:21:16 -05:00
parent ce514a1b4d
commit 760dd33a6a

View File

@ -695,6 +695,7 @@ struct EmitSound_t
m_SoundLevel( SNDLVL_NONE ),
m_nFlags( 0 ),
m_nPitch( PITCH_NORM ),
m_nSpecialDSP( 0 ),
m_pOrigin( 0 ),
m_flSoundTime( 0.0f ),
m_pflSoundDuration( 0 ),
@ -715,6 +716,7 @@ struct EmitSound_t
soundlevel_t m_SoundLevel;
int m_nFlags;
int m_nPitch;
int m_nSpecialDSP;
const Vector *m_pOrigin;
float m_flSoundTime; ///< NOT DURATION, but rather, some absolute time in the future until which this sound should be delayed
float *m_pflSoundDuration;