mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 09:33:50 +00:00
uninitialized variables-sfx
This commit is contained in:
parent
7392d598da
commit
a1a6143e01
11 changed files with 32 additions and 16 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue