Browse Source

Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into alpha40/iblCleanups

AzaezelX 3 years ago
parent
commit
a9bc56944c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/sfx/sfxProfile.h

+ 1 - 1
Engine/source/sfx/sfxProfile.h

@@ -154,7 +154,7 @@ class SFXProfile : public SFXTrack
       void unpackData( BitStream* stream );
       void unpackData( BitStream* stream );
 
 
       /// Returns the sound filename.
       /// Returns the sound filename.
-      const String& getSoundFileName() const { return mFilename; }
+      const String getSoundFileName() const { return mFilename; }
       void setSoundFileName(StringTableEntry filename) { mFilename = filename; }
       void setSoundFileName(StringTableEntry filename) { mFilename = filename; }
 
 
       bool getPreload() const { return mPreload; }
       bool getPreload() const { return mPreload; }