uninitialized variables-sfx

This commit is contained in:
AzaezelX 2020-05-11 15:24:49 -05:00
parent 7392d598da
commit a1a6143e01
11 changed files with 32 additions and 16 deletions

View file

@ -68,7 +68,7 @@ ConsoleDocClass( SFXSound,
//-----------------------------------------------------------------------------
SFXSound::SFXSound()
: mVoice( NULL )
: mVoice( NULL ), mDuration(0), mSetPositionValue(0)
{
// NOTE: This should never be used directly
// and is only here to satisfy satisfy the
@ -79,7 +79,7 @@ SFXSound::SFXSound()
SFXSound::SFXSound( SFXProfile *profile, SFXDescription* desc )
: Parent( profile, desc ),
mVoice( NULL )
mVoice( NULL ), mDuration(0)
{
mSetPositionValue = 0;
}