Merge pull request #632 from Ragora/bugfix-get-sound-filename-crash

BugFix: Correct a crash caused by sfxProfile
This commit is contained in:
Brian Roberts 2021-10-26 11:49:55 -05:00 committed by GitHub
commit e658c95f90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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