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

@ -208,7 +208,7 @@ class SFXWorld : public ScopeTracker< NUM_DIMENSIONS, Object >
/// between this space and the space above us in the stack.
Object mObject;
Scope() {}
Scope() :mSortValue(0), mSoundscape(NULL) {}
Scope( F32 sortValue, Object object )
: mSortValue( sortValue ),
mSoundscape( NULL ),