mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
* BugFix: Correct a crash caused by sfxProfile due to returning an address to a temporary value in getSoundFileName.
This commit is contained in:
parent
14ebeaf3eb
commit
72b31f6f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -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; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue